classification
Title: zipfile should call lstat instead of stat if available
Type: Stage:
Components: Extension Modules, Library (Lib) Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Patrik Dufresne, alanmcintyre, serhiy.storchaka, twouters
Priority: normal Keywords:

Created on 2016-02-02 21:44 by Patrik Dufresne, last changed 2016-02-27 10:33 by anish.shah.

Messages (1)
msg259436 - (view) Author: Patrik Dufresne (Patrik Dufresne) Date: 2016-02-02 21:44
To mirror the behavior in tarfile, zipfile should make a call to stat instead of lstat if available.

Failure to do so resolved into an "IOError No such file or directory" if the filename is a symbolik link being broken. As such, the creation of the archive fail.
History
Date User Action Args
2016-02-27 10:33:42anish.shahsetnosy: - anish.shah
2016-02-04 15:41:04SilentGhostsetnosy: + twouters, alanmcintyre, serhiy.storchaka

components: + Extension Modules
versions: - Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5
2016-02-04 11:36:43anish.shahsetnosy: + anish.shah
2016-02-02 21:44:58Patrik Dufresnecreate