Skip to content
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

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 30, 2025

Replace "on verb+ing" with "when verb+ing".

@vstinner
Copy link
Member Author

cc @ambv @hoodmane @vsajip

@vstinner vstinner requested a review from rhettinger as a code owner January 30, 2025 14:27
@hoodmane
Copy link
Contributor

hoodmane commented Jan 30, 2025

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".
@vstinner
Copy link
Member Author

@hoodmane:

As long as we're bikeshedding this, now I'm feeling like "while" is the most appropriate word.

Oh, ok. I updated my PR to use "while". Would you mind to review the updated PR?

Copy link
Contributor

@hoodmane hoodmane left a 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!

@vstinner vstinner merged commit 95504f4 into python:main Jan 31, 2025
57 checks passed
@vstinner vstinner deleted the format_unraisable_when branch January 31, 2025 08:45
@vstinner
Copy link
Member Author

Merged, thanks for the review @hoodmane.

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.

2 participants