summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-12 17:53:32 (GMT)
committerGitHub <noreply@github.com>2019-10-12 17:53:32 (GMT)
commitfdc7cbeedc20f96733788a0aa728f185465b7954 (patch)
tree1cc1258be8e3d9e19c92bd7172b5f9d36914a858
parente540bb546163f108c7c304f2e6865efaa78cd4c2 (diff)
downloadcpython-fdc7cbeedc20f96733788a0aa728f185465b7954.zip
cpython-fdc7cbeedc20f96733788a0aa728f185465b7954.tar.gz
cpython-fdc7cbeedc20f96733788a0aa728f185465b7954.tar.bz2
Announce the change in the CancelledError inheritance (GH-16730)
This is a fairly noticeable change that requires adjustments in existing asyncio code. It should therefore be announced. (cherry picked from commit e634da27471a76f4abe685e86e6e302e0ed6b553) Co-authored-by: Phil Jones <philip.graham.jones@googlemail.com>
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 4cab2f7..9bf028d 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -1659,6 +1659,10 @@ Changes in the Python API
environment variable and does not use :envvar:`HOME`, which is not normally
set for regular user accounts.
+* The Exception :class:`asyncio.CancelledError` now inherits from
+ :class:`BaseException` rather than a :class:`Exception`.
+ (Contributed by Yury Selivanov in :issue:`13528`.)
+
.. _bpo-36085-whatsnew:
* DLL dependencies for extension modules and DLLs loaded with :mod:`ctypes` on