Yury Selivanov <[email protected]> added the comment:
Looks like it's working now:
import asyncio
async def foo():
return 32
async def bar():
print(f'{await foo()}')
asyncio.run(bar())
Prints:
32
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue28942>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com