]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (GH-111910...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Nov 2023 14:00:48 +0000 (15:00 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Nov 2023 14:00:48 +0000 (14:00 +0000)
commit37804149ec432af9049d31a740f3422d0c29caa3
treeda94f4c1b6d05787e1cf43bfdf69d83ded8b0dbc
parent4b0c875d91727440251a8427a80d8515e39d18cd
[3.12] gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (GH-111910) (#111955)

gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (GH-111910)
(cherry picked from commit d61313bdb1eee3e4bb111e0b248ac2dbb48be917)

Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
Doc/library/contextlib.rst
Lib/contextlib.py
Lib/test/test_contextlib.py
Misc/NEWS.d/next/Library/2023-11-09-10-45-56.gh-issue-103791.sdfkja.rst [new file with mode: 0644]