]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132551: make `io.BytesIO` thread safe (GH-132616) (#138551)
authorKumar Aditya <kumaraditya@python.org>
Tue, 7 Oct 2025 18:18:28 +0000 (23:48 +0530)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:18:28 +0000 (23:48 +0530)
commit23cc8f789d8366573cf12c4495b5a4c9afa64005
tree881e60fac745b03f8b2f04bafc0b942ac2856b17
parentbf397e272c2bee639c3ba0208c221f7dd9447bb6
[3.14] gh-132551: make `io.BytesIO` thread safe (GH-132616) (#138551)

* [3.14] gh-132551: make `io.BytesIO` thread safe (GH-132616)
(cherry picked from commit 5dd3a3a58cca4798ebfc2edd673211067453e81e)

Co-authored-by: Tomasz Pytel <tompytel@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Lib/test/test_free_threading/test_io.py [new file with mode: 0644]
Misc/NEWS.d/next/Library/2025-04-16-21-02-57.gh-issue-132551.Psa7pL.rst [new file with mode: 0644]
Modules/_io/bytesio.c
Modules/_io/clinic/bytesio.c.h