Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling fixes to docs, docstrings, and comments #6374

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

scop
Copy link
Contributor

@scop scop commented Apr 4, 2018

No description provided.

Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am against this. Spelling fixes just cause noise in the git history without much benefit. Also, they are often used by people with no interest in contributing further as a way to get their name in some project (though I don't know if the OP here thinks that way).

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be clear I don't want this merged at all.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@serhiy-storchaka
Copy link
Member

@scop already contributed two doc fixes.

Should we reject any typo fixes in future?

@scop
Copy link
Contributor Author

scop commented Apr 4, 2018 via email

@gvanrossum
Copy link
Member

OK, @scop is exonerated, but in general I still think that fixing a bunch of unrelated typos in one diff is just causing noise. It's better to fix typos only when more substantial things in the same file are changed.

I know that some other large projects have a strict policy against typo (and style) fixes on account of the noise and work it generates, though I can't quickly find a reference (maybe PHP or Rails?)

@scop
Copy link
Contributor Author

scop commented Apr 4, 2018 via email

@serhiy-storchaka
Copy link
Member

FWIW also at least

Oh, sorry, I searched by author and therefore found only commits since migrating to Git. Searching in commit messages founds yet 19 commits (and there may be commits based on his patches without mentioning his name). All of them are documentation and spelling fixes. @scop is a stable contributor since 2003.

@gvanrossum
Copy link
Member

gvanrossum commented Apr 4, 2018 via email

@scop
Copy link
Contributor Author

scop commented Apr 4, 2018 via email

@gvanrossum
Copy link
Member

gvanrossum commented Apr 4, 2018 via email

@terryjreedy
Copy link
Member

I must find misspellings much more annoying than Guido, and am a bit embarrassed that I have added a few. There have been hundreds of fixes in the past few years; they grow like weeds.

A PR spell check of (ascii) words in docs and code comments, and strings would be great. Ville ('scop'), would you be interested in helping with this? The main problem would be minimizing false 'errors'. Other people (such as Mariatta) know how to write bots.

Ville, I suspect that an auto-backport to 3.7 will fail and expect that the 2.7 backport should (as the IDLE news entry is not in 2.7). Are you willing to do the backports manually? If so, I am willing to merge this and review and merge backports.

@scop
Copy link
Contributor Author

scop commented Apr 20, 2018

I took a look at backporting to 2.7, but turns out none of the misspellings here are present there.

I would be interested in learning about writing GitHub bots, and might have some time to help out with creating one for this purpose. So sure, let me know how to get started or help out with that.

@terryjreedy terryjreedy merged commit 61f82e0 into python:master Apr 20, 2018
@miss-islington
Copy link
Contributor

Thanks @scop for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 20, 2018
(cherry picked from commit 61f82e0)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
@bedevere-bot
Copy link

GH-6552 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Sorry, @scop and @terryjreedy, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 61f82e0e337f971da57f8f513abfe693edf95aa5 3.6

miss-islington added a commit that referenced this pull request Apr 20, 2018
(cherry picked from commit 61f82e0)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request Apr 20, 2018
@bedevere-bot
Copy link

GH-6558 is a backport of this pull request to the 3.6 branch.

@terryjreedy terryjreedy changed the title Spelling fixes Spelling fixes to docs, docstrings, and comments Apr 20, 2018
terryjreedy added a commit that referenced this pull request Apr 21, 2018
@terryjreedy
Copy link
Member

I opened python/core-workflow#237 - Spellcheck PRs.

All the changes merged back to 3.7. 3 to 3.6.

@terryjreedy terryjreedy removed their request for review May 16, 2018 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants