diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-08-04 14:50:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 14:50:54 (GMT) |
commit | 2d84fe59c0a8bba689d79cefa7110970dd781d46 (patch) | |
tree | 1b7d617b72b1c83e7e7b30c5fedacab07588c775 /Misc/NEWS.d | |
parent | f2926358d1cd70625222eaf4b541584d2f2a1272 (diff) | |
download | cpython-2d84fe59c0a8bba689d79cefa7110970dd781d46.zip cpython-2d84fe59c0a8bba689d79cefa7110970dd781d46.tar.gz cpython-2d84fe59c0a8bba689d79cefa7110970dd781d46.tar.bz2 |
GH-95289: Always call uncancel() when parent cancellation is requested (GH-95602)
Co-authored-by: Guido van Rossum <guido@python.org>
(cherry picked from commit 2fef27589e44c91042c2598b5cad6c6ad0516d93)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-08-03-16-52-32.gh-issue-95289.FMnHlV.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-08-03-16-52-32.gh-issue-95289.FMnHlV.rst b/Misc/NEWS.d/next/Library/2022-08-03-16-52-32.gh-issue-95289.FMnHlV.rst new file mode 100644 index 0000000..d802f55 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-08-03-16-52-32.gh-issue-95289.FMnHlV.rst @@ -0,0 +1 @@ +Fix :class:`asyncio.TaskGroup` to propagate exception when :exc:`asyncio.CancelledError` was replaced with another exception by a context manger. Patch by Kumar Aditya and Guido van Rossum. |