summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Grainger <tagrain@gmail.com>2023-01-03 15:47:13 (GMT)
committerGitHub <noreply@github.com>2023-01-03 15:47:13 (GMT)
commitb3722ca058f6a6d6505cf2ea9ffabaf7fb6b6e19 (patch)
tree942d61e3869c65751b8fff5f8ab6960506f50c21 /Misc
parent85869498331f7020e18bb243c89cd694f674b911 (diff)
downloadcpython-b3722ca058f6a6d6505cf2ea9ffabaf7fb6b6e19.zip
cpython-b3722ca058f6a6d6505cf2ea9ffabaf7fb6b6e19.tar.gz
cpython-b3722ca058f6a6d6505cf2ea9ffabaf7fb6b6e19.tar.bz2
gh-95882: fix regression in the traceback of exceptions propagated from inside a contextlib context manager (#95883)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Library/2022-08-11-10-02-19.gh-issue-95882.FsUr72.rst1
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index d50cb3c..b4e309c 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -645,6 +645,7 @@ Hans de Graaff
Tim Graham
Kim Gräsman
Alex Grönholm
+Thomas Grainger
Nathaniel Gray
Eddy De Greef
Duane Griffin
diff --git a/Misc/NEWS.d/next/Library/2022-08-11-10-02-19.gh-issue-95882.FsUr72.rst b/Misc/NEWS.d/next/Library/2022-08-11-10-02-19.gh-issue-95882.FsUr72.rst
new file mode 100644
index 0000000..9cdb237
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-08-11-10-02-19.gh-issue-95882.FsUr72.rst
@@ -0,0 +1 @@
+Fix a 3.11 regression in :func:`~contextlib.asynccontextmanager`, which caused it to propagate exceptions with incorrect tracebacks and fix a 3.11 regression in :func:`~contextlib.contextmanager`, which caused it to propagate exceptions with incorrect tracebacks for :exc:`StopIteration`.