This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Spelling mistakes in various code comments.
Type: enhancement Stage: resolved
Components: Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: Ramchandra Apte, ezio.melotti, iwontbecreative, python-dev, terry.reedy
Priority: normal Keywords: patch

Created on 2013-07-15 17:32 by iwontbecreative, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
spelling.patch iwontbecreative, 2013-07-15 17:32 Spelling mistakes review
typos.diff iwontbecreative, 2013-08-17 13:38 review
Messages (9)
msg193120 - (view) Author: Févry Thibault (iwontbecreative) * Date: 2013-07-15 17:32
The attached patch fixes spelling mistakes found on various comments, mainly in /Lib/. I choose not to correct things like 'everytime' since the main goal was to improve readability and not turn useful technical comments into English litterature. I hope this is fine.


[These were found using a script, if anyone wants I could post it somewhere after I polish it].
msg193380 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2013-07-19 21:54
'everytime' is not an English word and should be corrected; hardcoded should be hard-coded. Could you at least describe your script. My fantasy is being able to check text parts of files with the help of a program such as LibreOffice.
msg193385 - (view) Author: Févry Thibault (iwontbecreative) * Date: 2013-07-20 00:00
Terry Reedy : The scripts needs to be improved and I won't be able to access my computer until mid August so I don't think I will be able to do anything until then. But the script should be able to do that if I work on it a bit. I would use python enchant rather than libre-office for spell-checking and would need a text file about words specifics to python that should not be reported. I'll work on it once I get back (8th August) and when it is a bit more polished I'll update this post.
msg193433 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-07-21 10:04
Hmm... once I actually created a short (<50 lines) script which spell-checked the comments. Problem is that many technical words (GCC, for example) were marked incorrect by the spell-checker (Enchant), resulting in about 1000+ "incorrectly" spelled words.
msg194853 - (view) Author: Févry Thibault (iwontbecreative) * Date: 2013-08-10 23:50
See issue 18705 for a basic script.
msg195465 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-08-17 13:19
Févry, do you want to make an updated patch that includes also "everytime" as suggested by Terry?
I think some of the typos of the current patch have also been fixed by the other patches you submitted.
msg195466 - (view) Author: Févry Thibault (iwontbecreative) * Date: 2013-08-17 13:38
Updated the patch.
msg195467 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-08-17 13:58
New changeset c75b8d5fa016 by Ezio Melotti in branch '2.7':
#18466: fix more typos.  Patch by Févry Thibault.
http://hg.python.org/cpython/rev/c75b8d5fa016

New changeset 61227b4c169f by Ezio Melotti in branch '3.3':
#18466: fix more typos.  Patch by Févry Thibault.
http://hg.python.org/cpython/rev/61227b4c169f

New changeset 4cc308acd26d by Ezio Melotti in branch 'default':
#18466: merge with 3.3.
http://hg.python.org/cpython/rev/4cc308acd26d
msg195468 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-08-17 13:59
Fixed, thanks for the patch!
History
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62666
2013-08-17 13:59:25ezio.melottisetstatus: open -> closed
messages: + msg195468

assignee: ezio.melotti
resolution: fixed
stage: patch review -> resolved
2013-08-17 13:58:54python-devsetnosy: + python-dev
messages: + msg195467
2013-08-17 13:38:16iwontbecreativesetfiles: + typos.diff

messages: + msg195466
2013-08-17 13:19:18ezio.melottisetmessages: + msg195465
2013-08-10 23:50:17iwontbecreativesetmessages: + msg194853
2013-08-10 15:23:32ezio.melottisetnosy: + ezio.melotti

stage: patch review
2013-07-21 10:04:06Ramchandra Aptesetnosy: + Ramchandra Apte
messages: + msg193433
2013-07-20 00:00:59iwontbecreativesetmessages: + msg193385
2013-07-19 21:54:59terry.reedysetnosy: + terry.reedy

messages: + msg193380
versions: + Python 2.7, Python 3.3, Python 3.4
2013-07-15 17:32:51iwontbecreativecreate