Staging
v0.5.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
History
Tip revision: e6eafa2ade22dc687eee78374fa93d4b9ab7a2c1 authored by Victor Stinner on 10 June 2011, 14:32:54 UTC
Issue #10801: Fix test_unicode_filenames() of test_zipfile
Tip revision: e6eafa2
File Mode Size
Python-ast.h -rw-r--r-- 21.3 KB
Python.h -rw-r--r-- 3.4 KB
abstract.h -rw-r--r-- 41.1 KB
asdl.h -rw-r--r-- 1.0 KB
ast.h -rw-r--r-- 230 bytes
bitset.h -rw-r--r-- 792 bytes
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 886 bytes
bytearrayobject.h -rw-r--r-- 1.9 KB
bytes_methods.h -rw-r--r-- 2.9 KB
bytesobject.h -rw-r--r-- 4.7 KB
cellobject.h -rw-r--r-- 651 bytes
ceval.h -rw-r--r-- 7.0 KB
classobject.h -rw-r--r-- 1.6 KB
cobject.h -rw-r--r-- 1.6 KB
code.h -rw-r--r-- 3.4 KB
codecs.h -rw-r--r-- 5.1 KB
compile.h -rw-r--r-- 1.1 KB
complexobject.h -rw-r--r-- 1.8 KB
datetime.h -rw-r--r-- 8.0 KB
descrobject.h -rw-r--r-- 2.5 KB
dictobject.h -rw-r--r-- 6.5 KB
dtoa.h -rw-r--r-- 338 bytes
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.4 KB
eval.h -rw-r--r-- 575 bytes
fileobject.h -rw-r--r-- 1.5 KB
floatobject.h -rw-r--r-- 4.5 KB
frameobject.h -rw-r--r-- 2.8 KB
funcobject.h -rw-r--r-- 3.5 KB
genobject.h -rw-r--r-- 891 bytes
graminit.h -rw-r--r-- 1.8 KB
grammar.h -rw-r--r-- 2.0 KB
import.h -rw-r--r-- 2.2 KB
intrcheck.h -rw-r--r-- 274 bytes
iterobject.h -rw-r--r-- 567 bytes
listobject.h -rw-r--r-- 2.6 KB
longintrepr.h -rw-r--r-- 3.6 KB
longobject.h -rw-r--r-- 5.7 KB
marshal.h -rw-r--r-- 713 bytes
memoryobject.h -rw-r--r-- 2.8 KB
metagrammar.h -rw-r--r-- 253 bytes
methodobject.h -rw-r--r-- 2.8 KB
modsupport.h -rw-r--r-- 4.1 KB
moduleobject.h -rw-r--r-- 1.1 KB
node.h -rw-r--r-- 890 bytes
object.h -rw-r--r-- 32.7 KB
objimpl.h -rw-r--r-- 13.0 KB
opcode.h -rw-r--r-- 4.6 KB
osdefs.h -rw-r--r-- 869 bytes
parsetok.h -rw-r--r-- 1.9 KB
patchlevel.h -rw-r--r-- 1.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenheaders.h -rw-r--r-- 1.1 KB
py_curses.h -rw-r--r-- 4.1 KB
pyarena.h -rw-r--r-- 2.6 KB
pycapsule.h -rw-r--r-- 1.6 KB
pyctype.h -rw-r--r-- 1.2 KB
pydebug.h -rw-r--r-- 958 bytes
pyerrors.h -rw-r--r-- 11.0 KB
pyexpat.h -rw-r--r-- 2.0 KB
pyfpe.h -rw-r--r-- 8.3 KB
pygetopt.h -rw-r--r-- 315 bytes
pymacconfig.h -rw-r--r-- 2.7 KB
pymath.h -rw-r--r-- 6.6 KB
pymem.h -rw-r--r-- 4.6 KB
pyport.h -rw-r--r-- 27.0 KB
pystate.h -rw-r--r-- 6.6 KB
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.4 KB
pythonrun.h -rw-r--r-- 7.1 KB
pythread.h -rw-r--r-- 1.4 KB
rangeobject.h -rw-r--r-- 629 bytes
setobject.h -rw-r--r-- 3.1 KB
sliceobject.h -rw-r--r-- 1.3 KB
structmember.h -rw-r--r-- 2.3 KB
structseq.h -rw-r--r-- 1014 bytes
symtable.h -rw-r--r-- 4.2 KB
sysmodule.h -rw-r--r-- 902 bytes
timefuncs.h -rw-r--r-- 442 bytes
token.h -rw-r--r-- 1.8 KB
traceback.h -rw-r--r-- 710 bytes
tupleobject.h -rw-r--r-- 2.2 KB
ucnhash.h -rw-r--r-- 924 bytes
unicodeobject.h -rw-r--r-- 58.5 KB
warnings.h -rw-r--r-- 512 bytes
weakrefobject.h -rw-r--r-- 2.4 KB

back to top