]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32528: Document the change in inheritance of asyncio.CancelledError (GH-21474)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Jul 2020 07:50:54 +0000 (00:50 -0700)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2020 07:50:54 +0000 (00:50 -0700)
commit700cb6617545cdb8a9e16bb2e6efe90788a60d4d
treed528c6688b00ab98366d35a51f359d765fc00509
parent38d930f2ccbff6f93c4c54a7a6a1759266136504
bpo-32528: Document the change in inheritance of asyncio.CancelledError (GH-21474)

GH-msg373510

[bpo-32528]()/GH-13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document.

Automerge-Triggered-By: @1st1
(cherry picked from commit 2a5181829af394b82e8e8c917183c709ee72a2b7)

Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
Doc/whatsnew/3.8.rst