[issue36806] Forbid creating of stream objects outside of asyncio

2019-05-06 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36806] Forbid creating of stream objects outside of asyncio

2019-05-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +13014 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36806] Forbid creating of stream objects outside of asyncio

2019-05-05 Thread Andrew Svetlov
New submission from Andrew Svetlov : 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: 1. provide `_asyncio_internal` keyword-only parameter to leaked classes constructor 2.