-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Typos found by codespell #2073
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
Typos found by codespell #2073
Conversation
pep-0659.rst
Outdated
@@ -44,7 +44,7 @@ Both academic research and practical implementations have shown that a fast inte | |||
|
|||
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"warmup" seems fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, but codespell prefers warm-up and so do Merriam-Webster and The Oxford Advanced Learner's Dictionary.
- 156,000,000 Google hits for warm-up
- 41,500,000 Google hits for warmup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That said, PEP 0659 itself is inconsistent:
"warm up" time
warmup times
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
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. |
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 <[email protected]>
These typos detected by codespell are scattered over many PEPs. Should I really open a different PR for each PEP?