Sergey Dorofeev added the comment:
I'd like to submit patch to support zip archives created on systems that use
non-US codepage (e.g. russian CP866).
Codepage would be specified in additional parameter of ZipFile constructor,
named codepage.
If it is not specified, old behavior is preserved
Sergey Dorofeev added the comment:
OK, here you are:
--- zipfile.py-orig 2013-09-18 16:45:56.0 +0400
+++ zipfile.py 2013-10-19 01:59:07.444346674 +0400
@@ -885,7 +885,7 @@
fp = None # Set here since __del__ checks it
_windows_illegal_name_trans_table
New submission from Sergey Dorofeev fido...@users.sourceforge.net:
unzip does extract files but zipfile no
works fine with python2.7 but fails with python 3.2.2
tested on solaris 11 express and windows xp
import zipfile
zipfile.ZipFile(test.zip)
zipfile.ZipFile object at 0x903e50
z
New submission from Sergey Dorofeev fido...@users.sourceforge.net:
Python 3.2.2 (default, Nov 16 2011, 10:58:44) [C] on sunos5
Type help, copyright, credits or license for more information.
import ast
ast.literal_eval('10')
10
ast.literal_eval('0x10')
16
ast.literal_eval('010')
Traceback
Sergey Dorofeev fido...@users.sourceforge.net added the comment:
python 3 feature - should use 0o10
need to rebuild data file :(
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org