Author Iridium.Yang
Recipients Iridium.Yang
Date 2014-11-20.15:20:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The ZipExtFile class in zipfile module does not provide a seek method like GzipFile. As a result, it is hard to manipulate files without extract all the content.
For example, a very large tar file compressed with zip. The TarFile module can operate on file object, but need seek method. So the ZipExtFile instance return from ZipFile can not passed into TarFile.
This may seem strange but I encounter this on Samsung firmware.

In fact, the seek method in GzipFile or someother compressed format can be implemented in zipfile very easily. Here is my naive modification (nearly same as in GzipFile)
Date User Action Args
2014-11-20 15:20:43Iridium.Yangsetrecipients: + Iridium.Yang
2014-11-20 15:20:43Iridium.Yangsetmessageid: <>
2014-11-20 15:20:43Iridium.Yanglinkissue22908 messages
2014-11-20 15:20:43Iridium.Yangcreate