Commit 1a98043
committed
fix the reference count for dicts
Something is double-free-ed during the final finalization: in a debug build of Python, `./Include/object.h:602: _Py_NegativeRefcount: Assertion failed: object has negative ref count`
In non-debug build of Python, it simply segfaults at the end during finalization.test_get_default_not_found
1 parent bb78bbd commit 1a98043
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
| |||
0 commit comments