Closed GoogleCodeExporter closed 9 years ago
The problem with calling close() after the call to __parse__() is that it will
close the mmap object if it exists. pefile uses mmap to be able to work with
very large files when there's no need of loading it all in memory at once.
Hence it will need the object to remain open.
I don't see an easy solution. Maybe wait until you've done all the processing
you need to do with the PE file and then close it so you can delete it?
Original comment by ero.carr...@gmail.com
on 8 Aug 2012 at 11:15
Original issue reported on code.google.com by
robbinc...@gmail.com
on 2 Dec 2011 at 4:29