Commit a9b8ffd
The `textiowrapper_iternext` function called `_textiowrapper_writeflush`, but did not
use a critical section, making it racy in free-threaded builds.
(cherry picked from commit 44fb7c3)
Co-authored-by: Duane Griffin <[email protected]>
1 parent 7ca17ed commit a9b8ffd
File tree
3 files changed
+47
-1
lines changed- Lib/test
- Misc/NEWS.d/next/Core_and_Builtins
- Modules/_io
3 files changed
+47
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1041 | 1072 | | |
1042 | 1073 | | |
1043 | 1074 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1568 | 1568 | | |
1569 | 1569 | | |
1570 | 1570 | | |
| 1571 | + | |
| 1572 | + | |
1571 | 1573 | | |
1572 | 1574 | | |
1573 | 1575 | | |
| |||
3157 | 3159 | | |
3158 | 3160 | | |
3159 | 3161 | | |
3160 | | - | |
| 3162 | + | |
3161 | 3163 | | |
| 3164 | + | |
3162 | 3165 | | |
| 3166 | + | |
3163 | 3167 | | |
3164 | 3168 | | |
3165 | 3169 | | |
| |||
3194 | 3198 | | |
3195 | 3199 | | |
3196 | 3200 | | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
3197 | 3211 | | |
3198 | 3212 | | |
3199 | 3213 | | |
| |||
0 commit comments