FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Typos found by codespell by DimitriPapadopoulos · Pull Request #2073 · python/peps · GitHub

Repository navigation

Typos found by codespell - #2073

Merged
brettcannon merged 2 commits into
python:masterfrom
DimitriPapadopoulos:codespell
Sep 17, 2021
Merged

brettcannon merged 2 commits into
python:masterfrom
DimitriPapadopoulos:codespell

Conversation

Copy link
Copy Markdown
Contributor

These typos detected by codespell are scattered over many PEPs. Should I really open a different PR for each PEP?

Comment thread pep-0400.txt Outdated
Comment thread pep-0454.txt
Comment thread pep-0659.rst Outdated
Typical optimizations for virtual machines are expensive, so a long "warm up" time is required
to gain confidence that the cost of optimization is justified.
In order to get speed-ups rapidly, without noticable warmup times,
In order to get speed-ups rapidly, without noticeable warm-up times,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

"warmup" seems fine

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

True, but codespell prefers warm-up and so do Merriam-Webster and The Oxford Advanced Learner's Dictionary.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'd prefer to leave the original author's wording unless it's clearly wrong. English spelling has some variation.

Similarly, you changed "reenable" to "re-enable" at some point. That can also stay as "reenable".

DimitriPapadopoulos Sep 17, 2021 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

OK, I'll keep it as it was.

As for re-enable, it's probably my wrong. I seem to recall it is a citation of a mail and shouldn't be changed. I'll look into it and fix it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

That said, PEP 0659 itself is inconsistent:

"warm up" time
warmup times

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Fixed.

Copy link
Copy Markdown
Member

Honestly I don’t like such “omnibus” PRs. There’s often something that eluded review.

And I don’t mind having the occasional typo, unless it makes the text hard to follow. The time to use a spell checker is when first writing the text.

DimitriPapadopoulos commented Sep 17, 2021 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

I understand, besides that's why I asked if such a PR acceptable.

However, after fixing these typos, I could add a codespell GitHub action that could catch typos early on. I cannot add it as long as codespell reports too many errors.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL