Author yselivanov
Recipients asvetlov, yselivanov
Date 2019-05-23.22:57:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558652233.35.0.225299391791.issue37028@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-05-23 22:57:13yselivanovsetrecipients: + yselivanov, asvetlov
2019-05-23 22:57:13yselivanovsetmessageid: <1558652233.35.0.225299391791.issue37028@roundup.psfhosted.org>
2019-05-23 22:57:13yselivanovlinkissue37028 messages
2019-05-23 22:57:13yselivanovcreate