summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-01-09 19:41:31 (GMT)
committerGitHub <noreply@github.com>2024-01-09 19:41:31 (GMT)
commita5db6a3351b440a875a5af84a8b2447981356e34 (patch)
tree1add2b8a6ef3511e9f2480d6bad8c48f5cdab768 /Misc
parent5273655bea050432756098641b9fda72361bf983 (diff)
downloadcpython-a5db6a3351b440a875a5af84a8b2447981356e34.zip
cpython-a5db6a3351b440a875a5af84a8b2447981356e34.tar.gz
cpython-a5db6a3351b440a875a5af84a8b2447981356e34.tar.bz2
gh-113848: Handle CancelledError subclasses in asyncio TaskGroup() and timeout() (GH-113850)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-01-09-12-19-55.gh-issue-113848.kXoCy0.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-01-09-12-19-55.gh-issue-113848.kXoCy0.rst b/Misc/NEWS.d/next/Library/2024-01-09-12-19-55.gh-issue-113848.kXoCy0.rst
new file mode 100644
index 0000000..8d5032a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-01-09-12-19-55.gh-issue-113848.kXoCy0.rst
@@ -0,0 +1,3 @@
+:func:`asyncio.TaskGroup()` and :func:`asyncio.timeout()` context managers
+now handle :exc:`~asyncio.CancelledError` subclasses as well as exact
+:exc:`!CancelledError`.