-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
gh-129354: Fix grammar in PyErr_FormatUnraisable() #129475
Conversation
As long as we're bikeshedding this, now I'm feeling like "while" is the most appropriate word. We are ignoring an error that occurred while whatever other action was in progress. "When" feels more appropriate for something that occurred at an instant, versus "while" for a duration. But it's pretty nitpicky... |
Replace "on verb+ing" with "while verb+ing".
9c2fcd9
to
6f0e248
Compare
Oh, ok. I updated my PR to use "while". Would you mind to review the updated PR? |
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 think the updated error messages read quite naturally. Thanks @vstinner!
Merged, thanks for the review @hoodmane. |
Replace "on verb+ing" with "while verb+ing".
Replace "on verb+ing" with "when verb+ing".
PyErr_WriteUnraisable()
withPyErr_FormatUnraisable()
#129354