Christian Steinmeyer added the comment:
Thank you for the in depth look Jason!
Especially that last comment was very useful to me. Perhaps it would make sense
to add something like this to the documentation of zipfile.
I'm not sure what would be the best hint, but perhaps in zipfile.P
Christian Steinmeyer added the comment:
I work on macOS 11.4 (20F71) (Kernel Version: Darwin 20.5.0).
My python version is 3.8.9 and zipp is at 3.5.0 (but 3.4.1 behaves the same for
me).
For me, this is behavior is reproducible.
Let me try to clarify what I mean.
test = TestClass(root
New submission from Christian Steinmeyer :
When executing the code below with the attached zip file (or any other that has
one or more files directly at root level), I get a "ValueError: seek of closed
file". It seems, the zipfile handle being part of the `TestClass` instance is
be