Commit a4762ae
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 in Python 3.111 parent 5b9deec commit a4762ae
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
| |||
0 commit comments