bpo-32528: Document the change in inheritance of asyncio.CancelledErr… · python/cpython@700cb66 · GitHub
Skip to content

Commit 700cb66

Browse files
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 2a51818) Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
1 parent 38d930f commit 700cb66

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/whatsnew/3.8.rst

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)