[issue45625] Add support for top-level await

Fred report at bugs.python.org
Sat Oct 30 17:47:34 EDT 2021


Fred <eldmannen at gmail.com> added the comment:

No, I was not aware of that.

After I started Python by running "python3 -m asyncio" then it behaved as I expected it should behave by default.

But this seems to work only in the REPL. I would like to write Python scripts stored in files where I can easily await at the top level as in the example in my first post.

----------

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


More information about the Python-bugs-list mailing list