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

Andrew Svetlov report at bugs.python.org
Tue Sep 10 10:41:44 EDT 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Better to avoid _asyncio_internal if not strictly necessary.
Currently, _asyncio_internal is used for protection of asyncio class direct instantiation.

E.g. stream = asyncio.Stream() is forbidden, people should use factories like stream = await asyncio.connect(...) for it.

----------

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


More information about the docs mailing list