cpython/Misc/NEWS.d/next/Library
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
..
2024-03-29-12-21-40.gh-issue-117142.U0agfh.rst gh-117142: Port _ctypes to multi-phase init (GH-117181) 2024-04-10 11:00:01 +00:00
2024-04-03-16-01-31.gh-issue-117516.7DlHje.rst gh-117516: Implement typing.TypeIs (#117517) 2024-04-09 10:50:37 +00:00
2024-04-04-15-28-12.gh-issue-116720.aGhXns.rst gh-116720: Fix corner cases of taskgroups (#117407) 2024-04-09 08:17:28 -07:00
2024-04-05-13-38-53.gh-issue-117546.lWjhHE.rst GH-117546: Fix symlink resolution in `os.path.realpath('loop/../link')` (#117568) 2024-04-10 18:17:18 +01:00
2024-04-06-20-31-09.gh-issue-117586.UgWdRK.rst GH-117586: Speed up `pathlib.Path.glob()` by working with strings (#117589) 2024-04-10 20:43:07 +01:00
2024-04-08-19-12-26.gh-issue-117663.CPfc_p.rst gh-117663: [Enum] fix _simple_enum's detection of aliases (GH-117664) 2024-04-09 11:31:07 -07:00
2024-04-09-23-22-21.gh-issue-117692.EciInD.rst gh-117692: Fix `AttributeError` in `DocTestFinder` on wrapped `builtin_or_method` (#117699) 2024-04-10 10:52:47 +01:00
2024-04-10-20-59-10.gh-issue-117722.oxIUEI.rst gh-117722: Fix Stream.readuntil with non-bytes buffer objects (#117723) 2024-04-11 07:41:55 -07:00
2024-04-10-21-08-32.gh-issue-117586.UCL__1.rst GH-117586: Speed up `pathlib.Path.walk()` by working with strings (#117726) 2024-04-11 01:26:53 +01:00
README.rst

README.rst

Put news entry `blurb`_ files for the *Library* section in this directory.

.. _blurb: https://pypi.org/project/blurb/