cpython/Modules/_io
Marcel Martin 72cad148cb
gh-90533: Implement BytesIO.peek() (#150917)
Add io.BytesIO.peek() method to read without advancing position.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
2026-06-26 13:46:39 +02:00
..
clinic gh-90533: Implement BytesIO.peek() (#150917) 2026-06-26 13:46:39 +02:00
_iomodule.c gh-150285: Fix too long docstrings in the io module (GH-150287) 2026-05-24 15:02:21 +03:00
_iomodule.h gh-141376: Fix exported symbols (GH-141377) 2025-11-11 09:21:24 +01:00
bufferedio.c gh-149816: add missing critical section on self in buffered_iternext (#150295) 2026-05-23 08:57:13 +00:00
bytesio.c gh-90533: Implement BytesIO.peek() (#150917) 2026-06-26 13:46:39 +02:00
fileio.c gh-150285: Fix too long docstrings in the io module (GH-150287) 2026-05-24 15:02:21 +03:00
iobase.c gh-150285: Fix too long docstrings in the io module (GH-150287) 2026-05-24 15:02:21 +03:00
stringio.c gh-149046: fix: correctly handle str subclasses in io.StringIO (#149047) 2026-06-01 13:01:57 +00:00
textio.c gh-151814: Fix unbounded memory growth from repeated empty writes to io.TextIOWrapper (#151817) 2026-06-24 12:47:52 +01:00
winconsoleio.c gh-150285: Fix too long docstrings in the io module (GH-150287) 2026-05-24 15:02:21 +03:00