[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

Karthikeyan Singaravelan report at bugs.python.org
Tue Sep 10 10:46:43 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Ah okay. There were places like Condition's constructor that has a deprecation warning and we construct a Lock with loop passed in the constructor and I passed along _asyncio_internal. I would be happy to look into your PR since mine is just passing along _asyncio_internal=True for all the stdlib calls.

I think it would be good if tests ran with warnings (at least DeprecationWarning and some class of warnings) as error but not sure why :(

----------

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


More information about the Python-bugs-list mailing list