Andrew Svetlov <[email protected]> added the comment:
My understanding is: `loop` argument passed to sleep should be always the same as returned from `get_running_loop()`. Passing it explicitly can be considered as microoptimization but `get_running_loop()` is pretty fast now, no need for such micro-opts. On another hand passing *non-current* loop is a serious error: nothing prevents to do it but the code just hangs. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue34728> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
