]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-143008: Fix race re-initializing TextIOWrapper (#151203)
authorCody Maloney <cmaloney@users.noreply.github.com>
Wed, 10 Jun 2026 09:13:46 +0000 (02:13 -0700)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 09:13:46 +0000 (11:13 +0200)
commit0318867acf72e3acf78f480db73a69982573263a
treebfe47414e46b8337cd60de55be2d52f3dffbdea1
parent73e5d444ac4f0801074c3a27271070774ff88b62
[3.15] gh-143008: Fix race re-initializing TextIOWrapper (#151203)

__init__() changes multiple variables and may be called more than once
from multiple threads.
Misc/NEWS.d/next/Library/2026-06-04-18-22-56.gh-issue-143008.z5tw-J.rst [new file with mode: 0644]
Modules/_io/clinic/textio.c.h
Modules/_io/textio.c