On 29.08.12 19:08, Daniel Holth wrote:
> 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
> inconvenient.
>> 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.
And ZipExtFile is not public, it is implementation detail. You should
not use this class directly. In fact, I plan to offer a patch that
removes ZipExtFile in 3.4.