[issue37006] Add top level await statement support for doctest

Nathaniel Smith report at bugs.python.org
Wed May 22 16:09:58 EDT 2019


Nathaniel Smith <njs at pobox.com> added the comment:

As far as things like run/run_until_complete/etc go, I think doctests should have the same semantics as async REPLs, whatever those end up being.

Given that we don't actually have mature async REPLs, that the core feature to enable them only landed a few days ago, and the 3.8 freeze is almost here, I think we should defer the doctest discussion for 3.9. Hopefully by then, things will have settled down more in async REPL land, and it'll be more obvious what doctest should do.

----------

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


More information about the Python-bugs-list mailing list