[issue10631] ZipFile and current directory change

R. David Murray report at bugs.python.org
Mon Dec 6 04:55:15 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

So, Martin, are you then arguing that this should in fact be considered a bug in ZipFile?  The documentation for the constructor says "Open a ZIP file, where file can be either a path to a file (a string) or a file-like object."  Reading that I would certainly expect it to accept a relative path, and for that path to be relative to the CWD at the time I called ZipFile, not at the time I called extractall.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list