This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kevinmehall
Recipients Thomas, cuibonobo, eric.smith, kevinmehall, malin, serhiy.storchaka
Date 2021-06-30.19:13:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625080436.08.0.184860929195.issue42369@roundup.psfhosted.org>
In-reply-to
Content
I think I found the root cause of this problem and proposed a fix in https://github.com/python/cpython/pull/26974

To monkey-patch this fix on existing versions of Python, I'm using:

class PatchedSharedFile(zipfile._SharedFile):
    def __init__(self, *args):
        super().__init__(*args)
        self.tell = lambda: self._pos
zipfile._SharedFile = PatchedSharedFile
History
Date User Action Args
2021-06-30 19:13:56kevinmehallsetrecipients: + kevinmehall, eric.smith, serhiy.storchaka, malin, Thomas, cuibonobo
2021-06-30 19:13:56kevinmehallsetmessageid: <1625080436.08.0.184860929195.issue42369@roundup.psfhosted.org>
2021-06-30 19:13:56kevinmehalllinkissue42369 messages
2021-06-30 19:13:56kevinmehallcreate