/external/python/cpython3/Lib/test/ |
D | test_contextlib_async.py | 30 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_enter.DefaultEnter 31 await super().__aexit__(*args) 72 async def __aexit__(self, exc_type, exc_value, traceback): member in TestAbstractAsyncContextManager.test_structural_subclassing.ManagerFromScratch 78 async def __aexit__(self, *args): member in TestAbstractAsyncContextManager.test_structural_subclassing.DefaultEnter 79 await super().__aexit__(*args) 89 __aexit__ = None variable in TestAbstractAsyncContextManager.test_structural_subclassing.NoneAexit 136 self.assertFalse(await ctx.__aexit__(TypeError, TypeError("foo"), None)) 149 await ctx.__aexit__(TypeError, TypeError('foo'), None) 170 await ctx.__aexit__(None, None, None) 184 await ctx.__aexit__(RuntimeError, None, None) [all …]
|
D | test_coroutines.py | 1171 async def __aexit__(self, *args): member in CoroutineTest.test_with_1.Manager 1217 def __aexit__(self): member in CoroutineTest.test_with_3.CM 1251 async def __aexit__(self, *exc): member in CoroutineTest.test_with_5.CM 1266 def __aexit__(self, *e): member in CoroutineTest.test_with_6.CM 1285 def __aexit__(self, *e): member in CoroutineTest.test_with_7.CM 1313 def __aexit__(self, *e): member in CoroutineTest.test_with_8.CM 1377 async def __aexit__(self, *e): member in CoroutineTest.test_with_9.CM 1397 async def __aexit__(self, *e): member in CoroutineTest.test_with_10.CM 1423 async def __aexit__(self, *e): member in CoroutineTest.test_with_11.CM 1445 async def __aexit__(self, *e): member in CoroutineTest.test_with_12.CM [all …]
|
D | test_sys_settrace.py | 33 async def __aexit__(self, *exc_info): member in asynctracecontext
|
D | test_grammar.py | 1882 async def __aexit__(self, *exc): member in GrammarTests.test_async_with.manager
|
/external/python/cpython3/Lib/ |
D | contextlib.py | 48 async def __aexit__(self, exc_type, exc_value, traceback): member in AbstractAsyncContextManager 179 async def __aexit__(self, typ, value, traceback): member in _AsyncGeneratorContextManager 555 _exit = _cm_type.__aexit__ 570 exit_method = _cb_type.__aexit__ 593 await self.__aexit__(None, None, None) 604 async def __aexit__(self, *exc_details): member in AsyncExitStack
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 288 self.assertTrue(iscoroutinefunction(mock.__aexit__)) 291 self.assertIsInstance(mock.__aexit__, AsyncMock) 314 self.assertTrue(iscoroutinefunction(mock.__aexit__)) 317 self.assertIsInstance(mock.__aexit__, AsyncMock)
|
D | testasync.py | 518 self.assertIsInstance(m_mock.__aexit__, AsyncMock) 547 self.assertIsInstance(m_mock.__aexit__, AsyncMock) 550 self.assertTrue(iscoroutinefunction(m_mock.__aexit__)) 557 async def __aexit__(self, *args, **kwargs): pass member in AsyncContextManagerTest.WithAsyncContextManager 605 self.assertTrue(cm_mock.__aexit__.called) 607 cm_mock.__aexit__.assert_awaited() 645 mock_instance.__aexit__ = exit_coroutine
|
/external/python/cpython3/Lib/asyncio/ |
D | locks.py | 19 async def __aexit__(self, exc_type, exc, tb): member in _ContextManagerMixin
|
D | events.py | 199 async def __aexit__(self, *exc): member in AbstractServer
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 60 ``__aexit__()`` return non-awaitable object.
|
D | 3.6.6rc1.rst | 75 ``__aexit__()`` return non-awaitable object.
|
D | 3.9.0a3.rst | 92 method before the :meth:`__aexit__` special method when entering an
|
D | 3.8.0a1.rst | 1420 ``__aexit__()`` return non-awaitable object.
|
/external/python/cpython3/Doc/library/ |
D | contextlib.rst | 35 :meth:`object.__aenter__` and :meth:`object.__aexit__`. A default 37 ``self`` while :meth:`object.__aexit__` is an abstract method which by default 108 :meth:`__aexit__` methods. It must be applied to an :term:`asynchronous
|
D | unittest.mock-examples.rst | 301 :ref:`async-context-managers` through ``__aenter__`` and ``__aexit__``. 302 By default, ``__aenter__`` and ``__aexit__`` are ``AsyncMock`` instances that 308 ... async def __aexit__(self, exc_type, exc, tb): 318 >>> mock_instance.__aexit__.assert_awaited_once()
|
D | dis.rst | 613 Resolves ``__aenter__`` and ``__aexit__`` from the object on top of the 614 stack. Pushes ``__aexit__`` and result of ``__aenter__()`` to the stack.
|
D | unittest.mock.rst | 2019 * Context manager: ``__enter__``, ``__exit__``, ``__aenter__`` and ``__aexit__`` 2037 Added support for ``__aenter__``, ``__aexit__``, ``__aiter__`` and ``__anext__``. 2101 * ``__aexit__``: ``False``
|
/external/python/cpython3/Doc/reference/ |
D | compound_stmts.rst | 859 aexit = type(manager).__aexit__ 874 See also :meth:`__aenter__` and :meth:`__aexit__` for details.
|
D | datamodel.rst | 2777 suspend execution in its ``__aenter__`` and ``__aexit__`` methods. 2786 .. method:: object.__aexit__(self, exc_type, exc_value, traceback) 2797 async def __aexit__(self, exc_type, exc, tb):
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 94 :meth:`__aexit__` methods. Introduced by :pep:`492`.
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 513 Python/ceval.c:_PyEval_EvalFrameDefault():PyId___aexit__ _Py_IDENTIFIER(__aexit__)
|
D | known.tsv | 1014 Python/ceval.c _PyEval_EvalFrameDefault PyId___aexit__ variable _Py_IDENTIFIER(__aexit__)
|
/external/python/cpython3/Python/ |
D | ceval.c | 3338 _Py_IDENTIFIER(__aexit__); in _PyEval_EvalFrameDefault()
|