Home
last modified time | relevance | path

Searched refs:get_extra_info (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_transports.py18 self.assertEqual('info', transport.get_extra_info('extra'))
19 self.assertIsNone(transport.get_extra_info('unknown'))
22 self.assertIs(default, transport.get_extra_info('unknown', default))
Dtest_events.py532 self.assertIsNotNone(tr.get_extra_info('sockname'))
557 self.assertIsNotNone(client.get_extra_info('sockname'))
560 client.get_extra_info('peername'))
562 self.assertIsNotNone(client.get_extra_info('peername'))
564 client.get_extra_info('peercert'))
567 cipher = client.get_extra_info('cipher')
575 sslobj = client.get_extra_info('ssl_object')
578 client.get_extra_info('compression'))
580 client.get_extra_info('cipher'))
582 client.get_extra_info('peercert'))
[all …]
Dtest_subprocess.py476 proc = transport.get_extra_info('subprocess')
506 proc = transport.get_extra_info('subprocess')
Dtest_base_events.py1432 def get_extra_info(self, key): member in BaseEventLoopWithSelectorTests.test_create_connection_ssl_server_hostname_default._SelectorTransportMock
1766 sock = transport.get_extra_info('socket')
1788 sock = transport.get_extra_info('socket')
/third_party/python/Lib/asyncio/
Dstreams.py236 self._over_ssl = transport.get_extra_info('sslcontext') is not None
346 def get_extra_info(self, name, default=None): member in StreamWriter
347 return self._transport.get_extra_info(name, default)
Dtransports.py19 def get_extra_info(self, name, default=None): member in BaseTransport
Dsslproto.py294 def get_extra_info(self, name, default=None): member in _SSLProtocolTransport
582 return self._transport.get_extra_info(name, default)
Dbase_events.py1086 sock = transport.get_extra_info('socket')
1540 sock = transport.get_extra_info('socket')
/third_party/python/Doc/library/
Dasyncio-stream.rst300 .. method:: get_extra_info(name, default=None)
303 :meth:`BaseTransport.get_extra_info` for details.
383 addr = writer.get_extra_info('peername')
Dasyncio-llapi-index.rst295 * - :meth:`transport.get_extra_info() <BaseTransport.get_extra_info>`
Dcontextvars.rst255 addr = writer.transport.get_extra_info('socket').getpeername()
Dasyncio-protocol.rst165 .. method:: BaseTransport.get_extra_info(name, default=None)
181 sock = transport.get_extra_info('socket')
727 peername = transport.get_extra_info('peername')
/third_party/python/Misc/NEWS.d/
D3.6.2rc1.rst673 get_extra_info() raises exception if get called on closed ssl transport.
D3.5.4rc1.rst719 get_extra_info() raises exception if get called on closed ssl transport.
D3.8.0b1.rst706 transport.get_extra_info('socket')
D3.7.0a1.rst3394 get_extra_info() raises exception if get called on closed ssl transport.
D3.8.0a1.rst7019 'sockname', so skip calls to transport.get_extra_info('sockname')
/third_party/python/Doc/whatsnew/
D3.8.rst1975 * The function :func:`asyncio.BaseTransport.get_extra_info` now returns a safe