[issue6839] zipfile can't extract file

Adam Polkosnik report at bugs.python.org
Thu Oct 31 19:56:35 CET 2013


Adam Polkosnik added the comment:

Just tested my patch on mac, and it appears that it didn't work on OSX (and likely on other unix platforms too).

Conclusion... os.path.basename() will not do anything to windows paths when running on unix.

I'm thinking that instead of bailing at 'File name in directory "%s" and header "%s" differ.', the library should just print a warning, and continue.

----------

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


More information about the Python-bugs-list mailing list