Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: > Luckily, extracting one of them just get only the more recent one
It's not only luck: a Zip file has a "central directory" used to retrieve data. ZipFile just appends the new file data to the end of the Zip file, then write the updated directory structure. Removing the old content is another matter, and is similar to issue6818. This requires a whole copy of the zip file, and so far, no acceptable patch was proposed. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11415> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com