Skip to content

Fix typos in >60 files using codespell & manual review to get rid of false positives #136887

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

Closed
wants to merge 9 commits into from

Conversation

corneliusroemer
Copy link
Contributor

@corneliusroemer corneliusroemer commented Jul 20, 2025

If you'd like me to get rid of non-super-unanimous fixes and/or split into multiple PRs let me know.

Examples of "arguable" fixes / common "errors":

  • "referencable" (instead of "referenceable")
  • "targetted" (instead of "targeted")
  • "uncompressible" (instead of "incompressible)
  • "knowledgable" (instead of "knowledgeable")
  • "preferrable" (instead of "preferable")

Codespell is overly opinionated in many cases, but I've gotten rid of these already (e.g. it really doesn't like re-use, this would cause ~50 more changes which I've rejected already)


📚 Documentation preview 📚: https://cpython-previews--136887.org.readthedocs.build/

@AA-Turner
Copy link
Member

Please avoid large PRs like this, they're hard to review and generally unhelpful (e.g. spelling errors in comments have no real impact).

A

@AA-Turner AA-Turner closed this Jul 20, 2025
@ZeroIntensity
Copy link
Member

Yeah, I feel like I inspired this by approving #136884. We want typo fixes in public documentation and docstrings, we don't care too much about comments.

@corneliusroemer
Copy link
Contributor Author

corneliusroemer commented Jul 20, 2025

I checked discourse and comment fixes were in-scope per @brettcannon: https://discuss.python.org/t/fixing-simple-typo-in-comment-not-document/2297/2

So you prefer more but smaller PRs focused on docstrings/public documentation?

@AA-Turner
Copy link
Member

I'd prefer that we spent resources working on more productive things than spelling mistakes! If you do choose to submit these changes again, though, please have only have one PR open at once and do the changes in small batches, where end users are most affected.

A

@ZeroIntensity
Copy link
Member

To be fair, that post is from 2019. I think our workflow has changed a bit since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy