[issue40487] Unexpected exception handler behavior in Jupyter when returning task objects created with create_task

John Smith report at bugs.python.org
Sun May 3 14:12:21 EDT 2020


John Smith <jeanmonet at gmail.com> added the comment:

Additional note:

In a almost identical set-up, the simple fact of assigning the task object to a variable:

`task = loop.create_task(coroutine())`

instead of just calling:

`loop.create_task(coroutine())`

...results in the same unexpected behavior in exception handling, without even attempting to return the task object.

----------

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


More information about the Python-bugs-list mailing list