-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dir
Description
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
- gh-125522 : add explicit exception types to bare excepts in tests #125523
- gh-125522: Fix bare except in test_math.testTan #125544
- [3.13] gh-125522: Fix bare except in test_math.testTan (GH-125544) #125726
- [3.12] gh-125522: Fix bare except in test_math.testTan (GH-125544) #125727
- gh-125522: Remove bare except in test_zlib.test_flushes #126321
- [3.13] gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) #126327
- [3.12] gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) #126328
- gh-125522: Fix bare except in
test_uuid
#129018 - [3.13] gh-125522: Fix bare except in
test_uuid
(GH-129018) #129455 - [3.12] gh-125522: Fix bare except in
test_uuid
(GH-129018) #129456
JelleZijlstra
Metadata
Metadata
Assignees
Labels
stdlibPython modules in the Lib dirPython modules in the Lib dir