[issue12167] test_packaging reference leak

Éric Araujo report at bugs.python.org
Mon Jul 18 15:44:12 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

> I would call .copy() on the original dicts rather than remembering an
> explicit empty dict.

I thought about that and decided to use an empty dict as a way to add a check that the caches should start empty.  Maybe it was misguided and I should instead add a unit test for that, or not bother altogether.

----------

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


More information about the Python-bugs-list mailing list