[issue32104] add method throw() to asyncio.Task

Yury Selivanov report at bugs.python.org
Tue Nov 21 10:03:47 EST 2017


Yury Selivanov <yselivanov at gmail.com> added the comment:

> in order to write advanced Tasks there should be a way
> to throw custom exceptions into active Task. 
> so it can react accordingly.  

What is an "advanced" task?  Why CancelledError is not enough?  What's the actual use case?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32104>
_______________________________________


More information about the Python-bugs-list mailing list