Serhiy Storchaka added the comment: Here is a patch. In additional to leaks in testzip and ZipFile.open() I fixed possible leaks in other places.
---------- keywords: +patch stage: needs patch -> patch review title: zipfile.testzip() opens file but does not close it. -> FD leaks in zipfile Added file: http://bugs.python.org/file27900/zipfile_fd_leaks.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16408> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com