]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151640: Track sharing of `BytesIO` buffer in free-threaded builds (GH-15165...
authorPeter Bierma <zintensitydev@gmail.com>
Thu, 9 Jul 2026 06:19:26 +0000 (02:19 -0400)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 06:19:26 +0000 (23:19 -0700)
commit3e19df0e05c076e66f7534fee23bae388fa3e801
tree5df8481642bf7042bc143a0f3095d4065c278284
parent069ed2aef19b1c58ad68e12d8787d0d411992641
[3.15] gh-151640: Track sharing of `BytesIO` buffer in free-threaded builds (GH-151651) (gh-153151)

(cherry picked from commit 881a13a97c7a29b9de57913c773cd5f195270fbd)

Remove peek() call from backported test, not in Python 3.15.

Co-authored-by: Pedram Karimi <147748351+pedramkarimii@users.noreply.github.com>
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Lib/test/test_free_threading/test_io.py
Lib/test/test_io/test_memoryio.py
Misc/NEWS.d/next/Library/2026-06-18-12-48-03.gh-issue-151640.R4c3Fx.rst [new file with mode: 0644]
Modules/_io/bytesio.c