cpython/Lib/test/test_asyncio
Victor Stinner 79790bc35f
bpo-33694: Fix race condition in asyncio proactor (GH-7498)
The cancellation of an overlapped WSARecv() has a race condition
which causes data loss because of the current implementation of
proactor in asyncio.

No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport
to work around the race condition.

Remove the optimized recv_into() implementation to get simple
implementation of pause_reading() using the single _pending_data
attribute.

Move _feed_data_to_bufferred_proto() to protocols.py.

Remove set_protocol() method which became useless.
2018-06-08 00:25:52 +02:00
..
__init__.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460) 2018-06-07 01:12:38 +02:00
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_buffered_proto.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_context.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_events.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_futures.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_locks.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_pep492.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_proactor_events.py bpo-33694: Fix race condition in asyncio proactor (GH-7498) 2018-06-08 00:25:52 +02:00
test_queues.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_runners.py bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) 2018-01-21 14:56:59 -05:00
test_selector_events.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_server.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_sslproto.py bpo-33694: Fix race condition in asyncio proactor (GH-7498) 2018-06-08 00:25:52 +02:00
test_streams.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_subprocess.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_tasks.py bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462) 2018-06-07 01:30:38 +02:00
test_transports.py Improve test coverage (#4924) 2017-12-19 08:51:16 +02:00
test_unix_events.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_windows_events.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_windows_utils.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
utils.py bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) 2018-06-04 11:32:35 -04:00