Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision e6eafa2ade22dc687eee78374fa93d4b9ab7a2c1 authored by Victor Stinner on 10 June 2011, 14:32:54 UTC, committed by Victor Stinner on 10 June 2011, 14:32:54 UTC
Just try to open files from the ZIP for reading, don't extract them to avoid UnicodeEncodeError if the filename is not encodable to the filesystem encoding (e.g. ASCII locale encoding).
1 parent 721bb33
Tip revision: e6eafa2ade22dc687eee78374fa93d4b9ab7a2c1 authored by Victor Stinner on 10 June 2011, 14:32:54 UTC
Issue #10801: Fix test_unicode_filenames() of test_zipfile
Issue #10801: Fix test_unicode_filenames() of test_zipfile
Tip revision: e6eafa2
File | Mode | Size |
---|---|---|
Python-ast.c | -rw-r--r-- | 266.3 KB |
_warnings.c | -rw-r--r-- | 25.7 KB |
asdl.c | -rw-r--r-- | 1.4 KB |
ast.c | -rw-r--r-- | 100.8 KB |
bltinmodule.c | -rw-r--r-- | 69.0 KB |
ceval.c | -rw-r--r-- | 131.4 KB |
codecs.c | -rw-r--r-- | 30.6 KB |
compile.c | -rw-r--r-- | 117.7 KB |
dtoa.c | -rw-r--r-- | 79.3 KB |
dup2.c | -rw-r--r-- | 705 bytes |
dynload_aix.c | -rw-r--r-- | 5.7 KB |
dynload_atheos.c | -rw-r--r-- | 1.2 KB |
dynload_dl.c | -rw-r--r-- | 564 bytes |
dynload_hpux.c | -rw-r--r-- | 1.5 KB |
dynload_next.c | -rw-r--r-- | 3.9 KB |
dynload_os2.c | -rw-r--r-- | 1.2 KB |
dynload_shlib.c | -rw-r--r-- | 3.6 KB |
dynload_stub.c | -rw-r--r-- | 202 bytes |
dynload_win.c | -rw-r--r-- | 9.3 KB |
errors.c | -rw-r--r-- | 23.2 KB |
formatter_unicode.c | -rw-r--r-- | 537 bytes |
frozen.c | -rw-r--r-- | 1.4 KB |
frozenmain.c | -rw-r--r-- | 2.7 KB |
future.c | -rw-r--r-- | 4.3 KB |
getargs.c | -rw-r--r-- | 58.7 KB |
getcompiler.c | -rw-r--r-- | 366 bytes |
getcopyright.c | -rw-r--r-- | 503 bytes |
getcwd.c | -rw-r--r-- | 1.5 KB |
getopt.c | -rw-r--r-- | 3.4 KB |
getplatform.c | -rw-r--r-- | 130 bytes |
getversion.c | -rw-r--r-- | 289 bytes |
graminit.c | -rw-r--r-- | 39.5 KB |
import.c | -rw-r--r-- | 100.9 KB |
importdl.c | -rw-r--r-- | 2.5 KB |
importdl.h | -rw-r--r-- | 1.0 KB |
makeopcodetargets.py | -rwxr-xr-x | 1.3 KB |
marshal.c | -rw-r--r-- | 37.9 KB |
modsupport.c | -rw-r--r-- | 15.2 KB |
mysnprintf.c | -rw-r--r-- | 3.3 KB |
mystrtoul.c | -rw-r--r-- | 8.1 KB |
opcode_targets.h | -rw-r--r-- | 6.2 KB |
peephole.c | -rw-r--r-- | 23.8 KB |
pyarena.c | -rw-r--r-- | 5.8 KB |
pyctype.c | -rw-r--r-- | 7.7 KB |
pyfpe.c | -rw-r--r-- | 623 bytes |
pymath.c | -rw-r--r-- | 7.1 KB |
pystate.c | -rw-r--r-- | 20.3 KB |
pystrcmp.c | -rw-r--r-- | 613 bytes |
pystrtod.c | -rw-r--r-- | 38.8 KB |
pythonrun.c | -rw-r--r-- | 63.9 KB |
sigcheck.c | -rw-r--r-- | 529 bytes |
strdup.c | -rw-r--r-- | 256 bytes |
structmember.c | -rw-r--r-- | 8.8 KB |
symtable.c | -rw-r--r-- | 52.6 KB |
sysmodule.c | -rw-r--r-- | 48.5 KB |
thread.c | -rw-r--r-- | 11.1 KB |
thread_atheos.h | -rw-r--r-- | 6.6 KB |
thread_cthread.h | -rw-r--r-- | 3.0 KB |
thread_foobar.h | -rw-r--r-- | 2.0 KB |
thread_lwp.h | -rw-r--r-- | 3.4 KB |
thread_nt.h | -rw-r--r-- | 8.8 KB |
thread_os2.h | -rw-r--r-- | 6.3 KB |
thread_pth.h | -rw-r--r-- | 5.3 KB |
thread_pthread.h | -rw-r--r-- | 13.6 KB |
thread_sgi.h | -rw-r--r-- | 10.9 KB |
thread_solaris.h | -rw-r--r-- | 3.3 KB |
thread_wince.h | -rw-r--r-- | 4.1 KB |
traceback.c | -rw-r--r-- | 10.9 KB |
Computing file changes ...