-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-41576: document BaseException in favor of bare except #21917
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
Conversation
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.
To me, the change improves this section.
@@ -488,5 +489,3 @@ used in a way that ensures they are always cleaned up promptly and correctly. :: | |||
After the statement is executed, the file *f* is always closed, even if a | |||
problem was encountered while processing the lines. Objects which, like files, | |||
provide predefined clean-up actions will indicate this in their documentation. |
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.
My editor keeps trimming this buggy whitespace, so we should probably remove it anyway
@terryjreedy what's the next step here? |
I am looking at this and will request or make some changes. I need to look at the context and think of how to answer Serhiy's objection on the issue. |
@terryjreedy I've now fixed the conflicts in this PR |
Thanks @graingert for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
Sorry, @graingert and @ambv, I could not cleanly backport this to |
GH-27646 is a backport of this pull request to the 3.10 branch. |
…1917) (cherry picked from commit e9a6f1b) Co-authored-by: Thomas Grainger <[email protected]>
(cherry picked from commit e9a6f1b) Co-authored-by: Thomas Grainger <[email protected]>
@ambv Thanks for finishing this. |
https://bugs.python.org/issue41576