Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
Ages ago, get_event_loop() did not return the current running loop if called from async function context; it returned a loop instance registered with previous set_event_loop(...) call instead. Later we fixed get_event_loop() behavior in 3.5.4 IIRC and added get_running_loop() in 3.7 set_event_loop() doesn't make sense now from my perspective. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39529> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com