Home
last modified time | relevance | path

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

/external/python/cpython3/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.py507 self.assertIsNotNone(tr.get_extra_info('sockname'))
532 self.assertIsNotNone(client.get_extra_info('sockname'))
535 client.get_extra_info('peername'))
537 self.assertIsNotNone(client.get_extra_info('peername'))
539 client.get_extra_info('peercert'))
542 cipher = client.get_extra_info('cipher')
550 sslobj = client.get_extra_info('ssl_object')
553 client.get_extra_info('compression'))
555 client.get_extra_info('cipher'))
557 client.get_extra_info('peercert'))
[all …]
Dtest_subprocess.py475 proc = transport.get_extra_info('subprocess')
505 proc = transport.get_extra_info('subprocess')
Dtest_base_events.py1425 def get_extra_info(self, key): member in BaseEventLoopWithSelectorTests.test_create_connection_ssl_server_hostname_default._SelectorTransportMock
1757 sock = transport.get_extra_info('socket')
1779 sock = transport.get_extra_info('socket')
/external/python/cpython3/Lib/asyncio/
Dstreams.py255 self._over_ssl = transport.get_extra_info('sslcontext') is not None
361 def get_extra_info(self, name, default=None): member in StreamWriter
362 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.py1087 sock = transport.get_extra_info('socket')
1549 sock = transport.get_extra_info('socket')
/external/python/cpython3/Doc/library/
Dasyncio-stream.rst278 .. method:: get_extra_info(name, default=None)
281 :meth:`BaseTransport.get_extra_info` for details.
361 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')
/external/python/cpython3/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')
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1974 * The function :func:`asyncio.BaseTransport.get_extra_info` now returns a safe