cpython/Lib/test/test_asyncio
Bruce Merry 01a51f9494
gh-117722: Fix Stream.readuntil with non-bytes buffer objects (#117723)
gh-16429 introduced support for an iterable of separators in
Stream.readuntil. Since bytes-like types are themselves iterable, this
can introduce ambiguities in deciding whether the argument is an
iterator of separators or a singleton separator. In gh-16429, only 'bytes'
was considered a singleton, but this will break code that passes other
buffer object types.

Fix it by only supporting tuples rather than arbitrary iterables.

Closes gh-117722.
2024-04-11 07:41:55 -07:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py gh-71042: Add `platform.android_ver` (#116674) 2024-03-27 17:53:27 +01:00
test_buffered_proto.py
test_context.py
test_eager_task_factory.py
test_events.py gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (#32011) 2024-03-23 08:39:35 -07:00
test_futures.py gh-117459: Keep the traceback in _convert_future_exc (#117460) 2024-04-03 20:13:32 -07:00
test_futures2.py
test_locks.py
test_pep492.py
test_proactor_events.py
test_protocols.py
test_queues.py gh-96471: Add asyncio queue shutdown (#104228) 2024-04-06 07:27:13 -07:00
test_runners.py
test_selector_events.py
test_sendfile.py
test_server.py
test_sock_lowlevel.py gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (#32011) 2024-03-23 08:39:35 -07:00
test_ssl.py
test_sslproto.py
test_streams.py gh-117722: Fix Stream.readuntil with non-bytes buffer objects (#117723) 2024-04-11 07:41:55 -07:00
test_subprocess.py
test_taskgroups.py gh-116720: Fix corner cases of taskgroups (#117407) 2024-04-09 08:17:28 -07:00
test_tasks.py gh-116720: Fix corner cases of taskgroups (#117407) 2024-04-09 08:17:28 -07:00
test_threads.py
test_timeouts.py
test_transports.py
test_unix_events.py
test_waitfor.py
test_windows_events.py gh-116773: Ensure overlapped objects on Windows are not deallocated too early by asyncio (GH-116774) 2024-03-20 14:33:28 +00:00
test_windows_utils.py
utils.py