[issue35961] test_slice: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
STINNER Victor
report at bugs.python.org
Tue Feb 12 14:21:44 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
> Then again, there's probably no other code in the world that compares slice objects ;-)
Well, that's a good explanation :-) So maybe there is no need to keep the micro-optimization and PR 11830 would be safer (use strong references), rather than PR 11828 (untrack the 2 internal tuples).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35961>
_______________________________________
More information about the Python-bugs-list
mailing list