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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26582>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to