They were intended to be used by asyncio factories like open_connection from the very beginning but internals was leaked into asyncio top-level namespace.
The idea is:
provide _asyncio_internal keyword-only parameter to leaked classes constructor
have it False by default
Use _asyncio_internal=True when called from asyncio code.
Raise DeprecationWarning if _asyncio_internal is False
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: