Commit 5b96d39
authored
Loading a reference-tracked dictionary dereferenced a NULL pointer when
the allocation that registers it for back-references failed under low
memory. It now raises MemoryError, matching the tuple and list paths.
1 parent 70fdc96 commit 5b96d39
2 files changed
Lines changed: 5 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Python
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1471 | 1471 | | |
1472 | 1472 | | |
1473 | 1473 | | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
1474 | 1477 | | |
1475 | 1478 | | |
1476 | 1479 | | |
| |||
0 commit comments