[issue29789] zipfile: Add absolute_path option, disabled by default

2017-03-10 Thread STINNER Victor
STINNER Victor added the comment: Oh, it seems like zipfile is not affected by the issue, only tarfile. The documentation is correct: https://docs.python.org/dev/library/zipfile.html#zipfile.ZipFile.extract You can test using attached test2.zip. haypo@selma$ python3 -m zipfile -l ~/test2.zip

[issue29789] zipfile: Add absolute_path option, disabled by default

2017-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this issue exists on zipfile? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs

[issue29789] zipfile: Add absolute_path option, disabled by default

2017-03-10 Thread STINNER Victor
New submission from STINNER Victor: Same issue than tarfile issue #29788, but on zipfile. I suggest to add a boolean absolute_path option to zipfile, disabled by default. -- components: Library (Lib) messages: 289389 nosy: haypo priority: normal severity: normal status: open title: zipf