Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
Asyncio has a few own exceptions, the library tries to utilize existing ones, e.g. ValueError, TypeError, and OSError family. RuntimeError falls into this category. get_event_loop() never returns None, it was from very beginning. If we change it existing third-party code will be broken. So, no way, sorry. I really don't think we can change anything here. Would you describe cases when you need an implicit loop instance but there is no running loop currently? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38955> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com