]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Thu, 20 Jul 2023 09:11:32 +0000 (10:11 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 09:11:32 +0000 (14:41 +0530)
commiteeff8e72349743f37524221fe9e8f860879b46b3
tree3750da97130c5379bb25463fab86a8448a909b3b
parent832c37d42a395d4ea45994daffa5e41bd74ac1bb
gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Lib/contextlib.py
Lib/test/test_contextlib.py
Lib/test/test_contextlib_async.py