[issue26269] zipfile should call lstat instead of stat if available

Patrik Dufresne report at bugs.python.org
Tue Feb 2 16:44:58 EST 2016


New submission from Patrik Dufresne:

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.

----------
components: Library (Lib)
messages: 259436
nosy: Patrik Dufresne
priority: normal
severity: normal
status: open
title: zipfile should call lstat instead of stat if available
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26269>
_______________________________________


More information about the Python-bugs-list mailing list