Matthias Bussonnier <bussonniermatth...@gmail.com> added the comment:

The other thing to think about is `ensure_future` and `create_task`, they may 
not move forward until a foreground task is running. 

You can keep a loop running between lines or code-chunks, but then doctest 
cannot contain `asyncio.run()`.

I'm leaning toward conservatisme, and make things better but not perfect for 
3.8; potentially improving, in minor release of 3.9

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37006>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to