Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue18705] Fix arround 100 typos/spelling mistakes

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Aug 10, 2013, 4:45 PM

Post #1 of 7 (27 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes

New submission from Févry Thibault:

In issue 18466 I had said I was planning to write a tool that checks python source code to see if they are spelling mistakes in comments/strings. As it was said there, the big issue was the fact that python has so many non-english words and that docstrings often had variable names in them, so I had to work arround the issue and add a personal word list.

I only applied the tool to Lib/*.py yet, as it takes some time to check false-positives and I didn't want to end with patches too big to be reviewed.

----------
assignee: docs [at] pytho
components: Documentation
files: spelling_Lib.diff
keywords: patch
messages: 194850
nosy: docs [at] pytho, iwontbecreative
priority: normal
severity: normal
status: open
title: Fix arround 100 typos/spelling mistakes
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file31223/spelling_Lib.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 10, 2013, 4:48 PM

Post #2 of 7 (26 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Févry Thibault added the comment:

Note that I am not a very good python programmer so the attached script may look ugly to you, but it works.

----------
versions: +Python 3.3
Added file: http://bugs.python.org/file31224/spell.py

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 10, 2013, 4:48 PM

Post #3 of 7 (26 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Févry Thibault added the comment:

And here is a python_words.txt so you have to press enter less times :)

----------
Added file: http://bugs.python.org/file31225/python_words.txt

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 3:02 AM

Post #4 of 7 (17 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Mark Dickinson added the comment:

Thanks for the patch.

I don't think there's a strict policy about using American spellings in the source; I think spellings like 'behaviour' and 'grey' should be left alone.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 3:15 AM

Post #5 of 7 (17 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Févry Thibault added the comment:

> I don't think there's a strict policy about using American spellings in the source; I think spellings like 'behaviour' and 'grey' should be left alone.

I didn't really know whether to change them or not and did not find an answer in the devguide (Might be worth documenting it ?) so I decided to change it :/.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 3:19 AM

Post #6 of 7 (17 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Ezio Melotti added the comment:

Both AE and BE are OK, as long as each document is internally consistent. For new documents I think AE is preferred, but not forced.

----------
nosy: +ezio.melotti
stage: -> patch review

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 5:25 AM

Post #7 of 7 (12 views)
Permalink
[issue18705] Fix arround 100 typos/spelling mistakes [In reply to]

Févry Thibault added the comment:

Updated the patch to no longer change BE to AE and fixed two mistakes in my correction.

----------
Added file: http://bugs.python.org/file31231/spelling_Lib.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18705>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.