Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Closed
corneliusroemer wants to merge 9 commits intopython:mainpython/cpython:mainfrom
corneliusroemer:gemini-reviewedcorneliusroemer/cpython:gemini-reviewedCopy head branch name to clipboard
Closed

Fix typos in >60 files using codespell & manual review to get rid of false positives#136887
corneliusroemer wants to merge 9 commits intopython:mainpython/cpython:mainfrom
corneliusroemer:gemini-reviewedcorneliusroemer/cpython:gemini-reviewedCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.