mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
![]() when there are no more `await` or `yield (from)` before return in coroutine, cancel was ignored. example: async def coro(): asyncio.Task.current_task().cancel() return 42 ... res = await coro() # should raise CancelledError |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
echo.py | ||
echo2.py | ||
echo3.py | ||
keycert3.pem | ||
pycacert.pem | ||
ssl_cert.pem | ||
ssl_key.pem | ||
test_base_events.py | ||
test_events.py | ||
test_futures.py | ||
test_locks.py | ||
test_pep492.py | ||
test_proactor_events.py | ||
test_queues.py | ||
test_selector_events.py | ||
test_sslproto.py | ||
test_streams.py | ||
test_subprocess.py | ||
test_tasks.py | ||
test_transports.py | ||
test_unix_events.py | ||
test_windows_events.py | ||
test_windows_utils.py |