[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

Yury Selivanov report at bugs.python.org
Wed Nov 18 18:43:30 EST 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

> Despite the fact that asyncio.get_running_loop() never returns None but raises RuntimeError (and maybe other tiny cleanups), 

It never raises when called from inside a coroutine. And I propose to do that. So it will never fail.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42392>
_______________________________________


More information about the Python-bugs-list mailing list