[New-bugs-announce] [issue26582] asyncio documentation links to wrong CancelledError

awilfox report at bugs.python.org
Thu Mar 17 10:45:53 EDT 2016


New submission from awilfox:

In the 3.5 and 3.6a0 documentation for asyncio, "CancelledError" is linked to the concurrent.futures.CancelledError.  This led me to try catching that exception and finding that it did not work correctly at all.  Only after searching for asyncio example code and seeing how other people caught asyncio.CancelledError did I realise the issue.

The fact asyncio.CancelledError even exists isn't actually documented, and I believe that is why the :exc: reference is linking to the wrong module.

----------
assignee: docs at python
components: Documentation
messages: 261911
nosy: awilfox, docs at python
priority: normal
severity: normal
status: open
title: asyncio documentation links to wrong CancelledError
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26582>
_______________________________________


More information about the New-bugs-announce mailing list