Open
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
Metadata
Metadata
Assignees
Labels
Python modules in the Lib dirPython modules in the Lib dir