mirror of
https://github.com/python/cpython.git
synced 2026-06-29 06:10:11 -04:00
c40e6d6ebb
[3.15] gh-143008: Fix race re-initializing TextIOWrapper (#151203)
__init__() changes multiple variables and may be called more than once
from multiple threads.
(cherry picked from commit 0318867acf)
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>