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 asvetlov
Recipients asvetlov, fbidu, serhiy.storchaka, vstinner, willingc, xtreak, yselivanov
Date 2018-10-02.08:22:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538468573.33.0.545547206417.issue34728@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-10-02 08:22:53asvetlovsetrecipients: + asvetlov, vstinner, serhiy.storchaka, yselivanov, willingc, xtreak, fbidu
2018-10-02 08:22:53asvetlovsetmessageid: <1538468573.33.0.545547206417.issue34728@psf.upfronthosting.co.za>
2018-10-02 08:22:53asvetlovlinkissue34728 messages
2018-10-02 08:22:53asvetlovcreate