cpython/Lib/test/test_asyncio
CtrlZvi 4151061855 bpo-26819: Prevent proactor double read on resume (#6921)
The proactor event loop has a race condition when reading with
pausing/resuming. `resume_reading()` unconditionally schedules the read
function to read from the current future. If `resume_reading()` was
called before the previously scheduled done callback fires, this results
in two attempts to get the data from the most recent read and an
assertion failure. This commit tracks whether or not `resume_reading`
needs to reschedule the callback to restart the loop, preventing a
second attempt to read the data.
2018-05-20 13:21:10 +03:00
..
__init__.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
echo.py
echo2.py
echo3.py
functional.py Make asyncio tests run when there's no SSL module (#5196) 2018-01-15 17:56:32 -05:00
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) 2018-05-16 17:50:29 -04:00
test_buffered_proto.py bpo-32251: Implement asyncio.BufferedProtocol. (#4755) 2018-01-28 16:30:26 -05:00
test_context.py bpo-32630: Use contextvars in decimal (GH-5278) 2018-01-27 13:46:46 -05:00
test_events.py bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037) (GH-6113) 2018-03-27 17:16:49 -04:00
test_futures.py bpo-32643: Drop support for a few private Task and Future APIs. (#5293) 2018-01-24 11:31:01 -05:00
test_locks.py bpo-32841: Fix cancellation in awaiting asyncio.Condition (#5665) 2018-02-14 11:18:11 +02:00
test_pep492.py bpo-32591: Add native coroutine origin tracking (#5250) 2018-01-21 09:44:07 -05:00
test_proactor_events.py bpo-26819: Prevent proactor double read on resume (#6921) 2018-05-20 13:21:10 +03:00
test_queues.py bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208) 2018-01-25 18:45:43 -05: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-32251: Implement asyncio.BufferedProtocol. (#4755) 2018-01-28 16:30:26 -05:00
test_server.py bpo-32662: Try making test_asyncio.test_server more reliable (#5338) 2018-01-26 01:30:57 -05:00
test_sslproto.py bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) 2018-03-10 17:48:35 +02:00
test_streams.py bpo-32391: Implement StreamWriter.wait_closed() (#5281) 2018-01-25 00:30:30 +02:00
test_subprocess.py bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785) 2017-12-11 10:04:40 -05:00
test_tasks.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 19:28:33 +09:00
test_transports.py Improve test coverage (#4924) 2017-12-19 08:51:16 +02:00
test_unix_events.py bpo-33332: Add signal.valid_signals() (GH-6581) 2018-05-04 13:00:50 +02:00
test_windows_events.py bpo-32327: Convert asyncio functions documented as coroutines to coroutines. (#4872) 2017-12-14 20:53:26 -05:00
test_windows_utils.py bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785) 2017-12-11 10:04:40 -05:00
utils.py bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (#5663) 2018-02-27 08:55:39 +01:00