[issue41102] ZipFile.namelist() does not match the actual files in .zip file

Andrei Kulakov report at bugs.python.org
Mon Aug 23 21:57:10 EDT 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

Liu: Thanks for the report!

By the way on re-reading my message, of course by opening and closing archive on each file using the `with` block, you take care of the first issue I mentioned (although it's not very efficient).

And I assume there was no multiprocessing / multithreading involved in creating the zip files? (I know it's not in the code you posted, but just to be sure?)

I agree with closing this until someone else runs into it and is able to reproduce reliably.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41102>
_______________________________________


More information about the Python-bugs-list mailing list