-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
avoid bare except: in stdlib #125522
Labels
stdlib
Python modules in the Lib dir
Comments
iritkatriel
added a commit
that referenced
this issue
Oct 15, 2024
iritkatriel
added a commit
to iritkatriel/cpython
that referenced
this issue
Oct 15, 2024
iritkatriel
added a commit
that referenced
this issue
Oct 19, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 19, 2024
(cherry picked from commit 4b421e8) Co-authored-by: Irit Katriel <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 19, 2024
(cherry picked from commit 4b421e8) Co-authored-by: Irit Katriel <[email protected]>
iritkatriel
added a commit
that referenced
this issue
Oct 19, 2024
iritkatriel
added a commit
that referenced
this issue
Oct 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bare excepts are best avoided, this issue is to reduce their use in the stdlib. It is not the intention to blindly replace them by
except BaseException:
, or to religiously purge all of them, but just to review them and avoid where it's feasible to do so.(see also #125514).
Linked PRs
The text was updated successfully, but these errors were encountered: