]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup...
authorŁukasz Langa <lukasz@langa.pl>
Mon, 24 Apr 2023 22:17:02 +0000 (00:17 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 22:17:02 +0000 (22:17 +0000)
commit22bed58e531ce780d91f3364c5ace98fad28c2e8
tree09719c749f02573ed8f47cb5f682651596f008e8
parent19e4f757de8c7cf2b4b9b4cbb32e376d0e50d2d4
gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup (#103792)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Doc/library/contextlib.rst
Lib/contextlib.py
Lib/test/support/testcase.py [new file with mode: 0644]
Lib/test/test_contextlib.py
Lib/test/test_except_star.py
Misc/NEWS.d/next/Library/2023-04-24-23-07-56.gh-issue-103791.bBPWdS.rst [new file with mode: 0644]