]> granicus.if.org Git - python/commit
bpo-37027: Return a proxy socket object from transp.get_extra_info('socket') (GH...
authorYury Selivanov <yury@magic.io>
Mon, 27 May 2019 13:57:20 +0000 (15:57 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 27 May 2019 13:57:19 +0000 (06:57 -0700)
commit8cd5165ba05ff57cfdbbc71c393bddad1ce1ab87
treeddfd76a4b278f1969c82af389afcc1641cabb005
parent674ee1260025ff36f27e5d70ff6b66e3aab880bf
bpo-37027: Return a proxy socket object from transp.get_extra_info('socket') (GH-13530)

Return a safe to use proxy socket object from `transport.get_extra_info('socket')`

https://bugs.python.org/issue37027
Lib/asyncio/base_events.py
Lib/asyncio/proactor_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/trsock.py [new file with mode: 0644]
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_server.py
Misc/NEWS.d/next/Library/2019-05-23-18-46-56.bpo-37027.iH4eut.rst [new file with mode: 0644]