[Python-ideas] hook zipfile.ZipExtFile to check secure hash sums

Daniel Holth dholth at gmail.com
Wed Aug 29 18:08:11 CEST 2012

I am checking the sha256 sums of all the files in a zip archive as it
is being extracted by overriding ZipExtFile._update_crc, but it is

It would be nice to have a hook, for example the ZipExtFile
constructor could be a property of ZipFile and conveniently replaced
with a ZipExtFile subclass.

More information about the Python-ideas mailing list