Repository navigation
Commit 8c4c636
authored
fix(itertools): add re-entrancy guard to tee object (RustPython#5931)
* fix(itertools): add re-entrancy guard to tee object
* apply feedback PyRwLock -> PyMutex & remove AtomicCell<bool> lock field1 parent 18d7c1b commit 8c4c636
2 files changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1761 | 1761 | | |
1762 | 1762 | | |
1763 | 1763 | | |
1764 | | - | |
1765 | | - | |
1766 | 1764 | | |
1767 | 1765 | | |
1768 | 1766 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
1187 | | - | |
| 1187 | + | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
| 1194 | + | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1202 | 1206 | | |
1203 | | - | |
| 1207 | + | |
| 1208 | + | |
1204 | 1209 | | |
1205 | 1210 | | |
1206 | 1211 | | |
| |||
0 commit comments