Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Commit5dd07eb
authored
Fix a crash caused by immortal interned strings being shared betweensub-interpreters that use basic single-phase init. In that case, the stringcan be used by an interpreter that outlives the interpreter that created andinterned it. For interpreters that share obmalloc state, also share theinterned dict with the main interpreter.
1 parent69fd1f2 commit5dd07eb
File tree
2 files changed
+47
-6
lines changed- Misc/NEWS.d/next/Core_and_Builtins
- Objects
2 files changed
+47
-6
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 42 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
266 | 266 |
| |
267 | 267 |
| |
268 | 268 |
| |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
269 | 286 |
| |
270 | 287 |
| |
271 | 288 |
| |
| |||
284 | 301 |
| |
285 | 302 |
| |
286 | 303 |
| |
287 |
| - | |
288 |
| - | |
289 |
| - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
290 | 314 |
| |
291 | 315 |
| |
292 | 316 |
| |
| |||
297 | 321 |
| |
298 | 322 |
| |
299 | 323 |
| |
300 |
| - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
301 | 328 |
| |
302 | 329 |
| |
303 | 330 |
| |
| |||
14861 | 14888 |
| |
14862 | 14889 |
| |
14863 | 14890 |
| |
| 14891 | + | |
| 14892 | + | |
| 14893 | + | |
| 14894 | + | |
| 14895 | + | |
| 14896 | + | |
| 14897 | + | |
14864 | 14898 |
| |
14865 | 14899 |
| |
14866 | 14900 |
| |
| |||
15364 | 15398 |
| |
15365 | 15399 |
| |
15366 | 15400 |
| |
15367 |
| - | |
15368 |
| - | |
| 15401 | + | |
| 15402 | + | |
| 15403 | + | |
| 15404 | + | |
15369 | 15405 |
| |
15370 | 15406 |
| |
15371 | 15407 |
| |
|
0 commit comments
Comments
(0)