mirror of https://github.com/python/cpython
01a51f9494
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. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
echo.py | ||
echo2.py | ||
echo3.py | ||
functional.py | ||
test_base_events.py | ||
test_buffered_proto.py | ||
test_context.py | ||
test_eager_task_factory.py | ||
test_events.py | ||
test_futures.py | ||
test_futures2.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_ssl.py | ||
test_sslproto.py | ||
test_streams.py | ||
test_subprocess.py | ||
test_taskgroups.py | ||
test_tasks.py | ||
test_threads.py | ||
test_timeouts.py | ||
test_transports.py | ||
test_unix_events.py | ||
test_waitfor.py | ||
test_windows_events.py | ||
test_windows_utils.py | ||
utils.py |