Message343334
Having an asyncio enabled repr where a top-level "await" possible would be a huge productivity boost. Using asyncio.run() in a REPL is hard, and besides it spawns a new event loop on every call.
The big idea: we want users to be able to do this:
$ python -m asyncio
>>> await asyncio.sleep(10, return='hello')
# after 10 seconds
hello |
|
Date |
User |
Action |
Args |
2019-05-23 22:57:13 | yselivanov | set | recipients:
+ yselivanov, asvetlov |
2019-05-23 22:57:13 | yselivanov | set | messageid: <1558652233.35.0.225299391791.issue37028@roundup.psfhosted.org> |
2019-05-23 22:57:13 | yselivanov | link | issue37028 messages |
2019-05-23 22:57:13 | yselivanov | create | |
|