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 (Addition of f._fileobj.close() )

f =, "r")
while 2 ** 20):     # Check CRC-32
f._fileobj.close() # This shoulnd't be necessary, but it is.


Python tracker <>
Python-bugs-list mailing list

Reply via email to