Commit a4bdc21
[3.15] gh-143008: Fix race re-initializing TextIOWrapper (GH-151203)
__init__() changes multiple variables and may be called more than once
from multiple threads.
(cherry picked from commit 0318867)
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent 51e83ca commit a4bdc21
3 files changed
Lines changed: 6 additions & 2 deletions
File tree
- Misc/NEWS.d/next/Library
- Modules/_io
- clinic
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
| |||
1104 | 1105 | | |
1105 | 1106 | | |
1106 | 1107 | | |
1107 | | - | |
| 1108 | + | |
1108 | 1109 | | |
1109 | 1110 | | |
1110 | 1111 | | |
| |||
0 commit comments