-
-
Notifications
You must be signed in to change notification settings - Fork 32k
avoid bare except: in stdlib #125522
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
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 <1055913+iritkatriel@users.noreply.github.com>
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 <1055913+iritkatriel@users.noreply.github.com>
iritkatriel
added a commit
that referenced
this issue
Oct 19, 2024
iritkatriel
added a commit
that referenced
this issue
Oct 19, 2024
I'll take a look :) |
simple-is-great
added a commit
to simple-is-great/cpython
that referenced
this issue
Nov 2, 2024
corona10
pushed a commit
that referenced
this issue
Nov 2, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 2, 2024
…gh-126321) (cherry picked from commit cfb1b2f) Co-authored-by: simple-is-great <103080930+simple-is-great@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 2, 2024
…gh-126321) (cherry picked from commit cfb1b2f) Co-authored-by: simple-is-great <103080930+simple-is-great@users.noreply.github.com>
This was referenced Nov 2, 2024
corona10
pushed a commit
that referenced
this issue
Nov 2, 2024
corona10
pushed a commit
that referenced
this issue
Nov 2, 2024
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
iritkatriel
pushed a commit
that referenced
this issue
Jan 29, 2025
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 29, 2025
(cherry picked from commit a1a4e9f) Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 29, 2025
(cherry picked from commit a1a4e9f) Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
iritkatriel
pushed a commit
that referenced
this issue
Jan 29, 2025
iritkatriel
pushed a commit
that referenced
this issue
Jan 29, 2025
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Feb 7, 2025
Note there already exists a bug for all of the cases in idlelib: #59518 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
test_uuid
#129018test_uuid
(GH-129018) #129455test_uuid
(GH-129018) #129456The text was updated successfully, but these errors were encountered: