[issue839159] iterators broken for weak dicts
Antoine Pitrou
report at bugs.python.org
Sat Feb 14 13:46:20 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
Interesting patch. I think the intermediate assertEquals in
test_weak_*_dict_flushed_dead_items_when_iters_go_out are just testing
an implementation detail, only the final one should remain.
Also, it is likely the "code duplication" you are talking about was
there for performance reasons, so I'd suggest putting it back in.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue839159>
_______________________________________
More information about the Python-bugs-list
mailing list