Adam Polkosnik added the comment:

I'm in a similar situation, my test file raises this:

File name in directory "windows\TEMP\\test123.txt" and header 
"C:\windows\TEMP\\test123.txt" differ.

It turns out that I can't find any cross platform procedures for processing the 
paths between the different platforms. And there are other things like doing it 
in portable way; os.path.split() nor os.path.basename() won't touch windows 
paths on un*x, etc...

So, I'd like to propose an easy way, just allow the process to extract the 
files (and print a warning message) rather that just raising an exception 
(raise BadZipfile,...) and stopping the extraction altogether.

----------
versions: +Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file33662/zipfile_stupid.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6839>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to