Adam Polkosnik added the comment:

I've got bitten by a different variation of this bug.

In my case the issue can be summarized by:
zipfile.BadZipfile: File name in directory "Windows\TEMP\test.tmp" and header 
"C:\Windows\TEMP\test.tmp" differ.

Attached is a patch for Python27/lib/zipfile.py. I understand that it might not 
be the best approach, but at least we just compare the filenames without caring 
much about those pesky paths preceding them.

----------
nosy: +apolkosnik
versions: +Python 2.7
Added file: http://bugs.python.org/file32160/zipfile.py.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