[issue12504] packaging: fix uninstall and stop skipping its tests
Éric Araujo
report at bugs.python.org
Fri Jul 8 13:19:16 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
Excellent! I will apply this.
> I looked through the rest of database.py and did not see any other
> generators that appeared to erroneously hold a file handle open.
Me neither. Thanks for checking.
> In addition there is one generator function (list_distinfo_files)
> which feeds off of the generator I have changed but I didn't see a
> need to alter them as they work fine as generators.
I think using a generator can save some memory, if the underlying list is huge, but the important thing here is that all functions with a similar name (list_*) behave in a consistent way, i.e. returning lists or generators but not a mix.
----------
priority: normal -> high
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12504>
_______________________________________
More information about the Python-bugs-list
mailing list