Vhati added the comment:

Oops, passing a unicode literal to extract()'s member arg wouldn't be 
sufficient.

The extract() method quietly converts strings to ZipInfo objects via 
getinfo(member_string). Then _extract_member() takes the filename attribute of 
that ZipInfo object, which causes problems when when THAT is unicode.

So I guess this bug only applies to archives with unicode member paths.

Attached is one such file to aid in troubleshooting.

----------
Added file: http://bugs.python.org/file29728/Kestrel Cruiser.zip

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

Reply via email to