mirror of
https://github.com/python/cpython
synced 2026-09-27 04:48:18 +03:00
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 | ||
| base_events.py | ||
| base_futures.py | ||
| base_subprocess.py | ||
| base_tasks.py | ||
| constants.py | ||
| coroutines.py | ||
| events.py | ||
| exceptions.py | ||
| format_helpers.py | ||
| futures.py | ||
| locks.py | ||
| log.py | ||
| mixins.py | ||
| proactor_events.py | ||
| protocols.py | ||
| queues.py | ||
| runners.py | ||
| selector_events.py | ||
| sslproto.py | ||
| staggered.py | ||
| streams.py | ||
| subprocess.py | ||
| taskgroups.py | ||
| tasks.py | ||
| threads.py | ||
| timeouts.py | ||
| transports.py | ||
| trsock.py | ||
| unix_events.py | ||
| windows_events.py | ||
| windows_utils.py | ||