[issue10631] ZipFile and current directory change
Martin v. Löwis
report at bugs.python.org
Sun Dec 12 19:55:34 CET 2010
Martin v. Löwis <martin at v.loewis.de> 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.
You have a point here. So I now think that this should be changed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10631>
_______________________________________
More information about the Python-bugs-list
mailing list