[issue14775] Slow unpickling of certain dictionaries in python 2.7 vs python 2.6

Antoine Pitrou report at bugs.python.org
Tue May 22 00:20:10 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> As I understand it (from issue #4074) tuples of atomic types are supposed to be untracked.

Actually, it is done lazily:

>>> t = 1,2
>>> gc.is_tracked(t)
True
>>> gc.collect()
0
>>> gc.is_tracked(t)
False

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14775>
_______________________________________


More information about the Python-bugs-list mailing list