[issue3104] overzealous garbage collector (dict)
Antoine Pitrou
report at bugs.python.org
Fri Jun 13 14:30:50 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Are you sure the keys for those list objects aren't just equal to others
you insert in the dict?
Witness:
>>> d = {}
>>> d[1] = 'a'
>>> d
{1: 'a'}
>>> d[1.0] = 'b'
>>> d
{1: 'b'}
I'm not sure what the memory limit is for dict objects, but 16MB sounds
quite low.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3104>
_______________________________________
More information about the Python-bugs-list
mailing list