summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Jones <philip.graham.jones@googlemail.com>2019-10-12 17:46:13 +0000
committerYury Selivanov <yury@magic.io>2019-10-12 13:46:13 -0400
commite634da27471a76f4abe685e86e6e302e0ed6b553 (patch)
tree201ccccfdc98cded63c3228921eeab0e74a6b138
parent822922af90f389b20166f0cd6f5b7c76fd6d42d9 (diff)
downloadcpython-git-e634da27471a76f4abe685e86e6e302e0ed6b553.tar.gz
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.
-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 4cab2f7af1..9bf028deaa 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