Kevin Mehall <k...@kevinmehall.net> added the comment:
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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com