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.
This commit is contained in:
Phil Jones 2019-10-12 17:46:13 +00:00 committed by Yury Selivanov
parent 822922af90
commit e634da2747
1 changed files with 4 additions and 0 deletions

View File

@ -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