This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mbussonn
Recipients asvetlov, mbussonn, yselivanov
Date 2019-12-05.16:47:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575564456.92.0.895802292019.issue38955@roundup.psfhosted.org>
In-reply-to
Content
Thanks Andrew; 

I'd still would love to have a way to get the current eventloop outside of async code that is consistent. 

I guess throwing an error with `get_event_loop()` is ok, it's just that `RuntimeError` feel like a weird thing to catch.

Alternatively is the current event loop is None I feel like returning None would also make sens imho. 

Feel free to close if you think this will not get fixed/updated.
History
Date User Action Args
2019-12-05 16:47:36mbussonnsetrecipients: + mbussonn, asvetlov, yselivanov
2019-12-05 16:47:36mbussonnsetmessageid: <1575564456.92.0.895802292019.issue38955@roundup.psfhosted.org>
2019-12-05 16:47:36mbussonnlinkissue38955 messages
2019-12-05 16:47:36mbussonncreate