[issue32742] zipfile extractall needlessly re-wraps ZipInfo instances

2018-03-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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

[issue32742] zipfile extractall needlessly re-wraps ZipInfo instances

2018-02-01 Thread Peter Bengtsson
Change by Peter Bengtsson : -- keywords: +patch pull_requests: +5298 stage: -> patch review ___ Python tracker ___

[issue32742] zipfile extractall needlessly re-wraps ZipInfo instances

2018-02-01 Thread Peter Bengtsson
Peter Bengtsson added the comment: (PS. I'm new to filing Python bugs and submitting patches. I *think* this is the right version. I've only been looking at 'master'.) -- versions: +Python 3.8 ___ Python tracker

[issue32742] zipfile extractall needlessly re-wraps ZipInfo instances

2018-02-01 Thread Peter Bengtsson
New submission from Peter Bengtsson : The ZipFile class as a extractall method [0] that allows you to leave the 'members' empty. If empty, the 'members' becomes a list of all the *names* of files in the zip. Then it iterates over the names as sends each to