[docs] [issue26582] asyncio documentation links to wrong CancelledError

STINNER Victor report at bugs.python.org
Thu Jun 2 05:14:36 EDT 2016


STINNER Victor added the comment:

> do agree that asyncio.CancelledError should be documented?

Yes, I would prefer to get the exception from asyncio, even if it is
officially an alias to an exception of a different module.

It would be surprising to have to import concurrent.futures in a
module written for asyncio, just to catch this exception.

----------

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


More information about the docs mailing list