Vhati added the comment:
The 2013-04-08 patch worked on Windows XP.
--
___
Python tracker
<http://bugs.python.org/issue17656>
___
___
Python-bugs-list mailin
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, wh
Vhati added the comment:
Apparently namelist() can return either ascii or unicode strings for its
members, depending on the archive. Obviously this'd apply to literal unicode
strings as well.
--
___
Python tracker
<http://bugs.py
New submission from Vhati:
Python 2.7.4 fails while extracting zip files when 'member' is a unicode path.
---
Traceback (most recent call last):
...
my_zip.extract(item, tmp_folder_path)
File "D:\Apps\Python274\lib\zipfile.py", line 1024, in extract
return