Commit c417fca
gh-149590: Remove faulthandler_traverse (GH-150023)
`faulthandler_traverse` visits Python objects owned by `_PyRuntime`, not
by the module instance. With multi-phase init allowing multiple module
instances, each instance's GC traversal decrements `gc_refs` on the same
runtime-owned objects, driving it negative when two instances are
collected simultaneously.
(cherry picked from commit 5673748)
Co-authored-by: Armaan Vakharia <43391096+armaan-v924@users.noreply.github.com>
1 parent 16f8ed5 commit c417fca
2 files changed
Lines changed: 1 addition & 16 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Modules
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 | |
|---|---|---|---|
| |||
1349 | 1349 | | |
1350 | 1350 | | |
1351 | 1351 | | |
1352 | | - | |
1353 | | - | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | 1352 | | |
1368 | 1353 | | |
1369 | 1354 | | |
| |||
1459 | 1444 | | |
1460 | 1445 | | |
1461 | 1446 | | |
1462 | | - | |
1463 | 1447 | | |
1464 | 1448 | | |
1465 | 1449 | | |
| |||
0 commit comments