Eric Busboom added the comment:
I've tried just closing the ZipExtFile created in testzip, but that didn't
actually close the file. It looks like ZipExtClose.close() also doesn't close
the file descriptor, at least when the ZipFile is constructed on a filename.
This code worked
New submission from Eric Busboom:
The zipfile.testzip() method will open each of the files in a zip archive, but
does not close the files, resulting in a file descriptor leak.
--
components: Library (Lib)
messages: 174829
nosy: Eric.Busboom
priority: normal
severity: normal
status