mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
![]() Currently, if asyncio.wait_for() timeout expires, it cancels inner future and then always raises TimeoutError. In case those future is task, it can handle cancelation mannually, and those process can lead to some other exception. Current implementation silently loses thoses exception. To resolve this, wait_for will check was the cancelation successfull or not. In case there was exception, wait_for will reraise it. Co-authored-by: Roman Skurikhin <roman.skurikhin@cruxlab.com> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
echo.py | ||
echo2.py | ||
echo3.py | ||
functional.py | ||
test_base_events.py | ||
test_buffered_proto.py | ||
test_context.py | ||
test_events.py | ||
test_futures.py | ||
test_locks.py | ||
test_pep492.py | ||
test_proactor_events.py | ||
test_protocols.py | ||
test_queues.py | ||
test_runners.py | ||
test_selector_events.py | ||
test_sendfile.py | ||
test_server.py | ||
test_sock_lowlevel.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 | ||
utils.py |