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 serhiy.storchaka
Recipients peterbe, serhiy.storchaka
Date 2018-03-27.16:53:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522169620.75.0.467229070634.issue32742@psf.upfronthosting.co.za>
In-reply-to
Content
There is an obscure behavior change introduced by this PR. Technically a ZIP file can contain several entries with the same name. Currently extractall() will extract the last of them multiple times.  The result doesn't differ from when extract it only once, there is just a waste of time. After merging this PR extractall() will extract different entries to the same location. If one of the is a directory, and other is a file, extractall() will fail.

I'm not sure it can be considered a valid ZIP file, but currently the zipfile module supports it.

On other hand, what is the benefit of using `self.infolist()` instead of `self.namelist()`?
History
Date User Action Args
2018-03-27 16:53:40serhiy.storchakasetrecipients: + serhiy.storchaka, peterbe
2018-03-27 16:53:40serhiy.storchakasetmessageid: <1522169620.75.0.467229070634.issue32742@psf.upfronthosting.co.za>
2018-03-27 16:53:40serhiy.storchakalinkissue32742 messages
2018-03-27 16:53:40serhiy.storchakacreate