Staging
v0.8.1
https://github.com/python/cpython
Revision c39211f51e377919952b139c46e295800cbc2a8d authored by Victor Stinner on 29 September 2010, 16:35:47 UTC, committed by Victor Stinner on 29 September 2010, 16:35:47 UTC
Redecode the filenames of:

 - all modules: __file__ and __path__ attributes
 - all code objects: co_filename attribute
 - sys.path
 - sys.meta_path
 - sys.executable
 - sys.path_importer_cache (keys)

Keep weak references to all code objects until initfsencoding() is called, to
be able to redecode co_filename attribute of all code objects.
1 parent a5785b1
History
Tip revision: c39211f51e377919952b139c46e295800cbc2a8d authored by Victor Stinner on 29 September 2010, 16:35:47 UTC
Issue #9630: Redecode filenames when setting the filesystem encoding
Tip revision: c39211f
File Mode Size
Python-ast.c -rw-r--r-- 267.3 KB
_warnings.c -rw-r--r-- 26.5 KB
asdl.c -rw-r--r-- 1.4 KB
ast.c -rw-r--r-- 101.1 KB
bltinmodule.c -rw-r--r-- 69.1 KB
ceval.c -rw-r--r-- 134.6 KB
ceval_gil.h -rw-r--r-- 13.9 KB
codecs.c -rw-r--r-- 30.6 KB
compile.c -rw-r--r-- 114.1 KB
dtoa.c -rw-r--r-- 79.2 KB
dup2.c -rw-r--r-- 685 bytes
dynamic_annotations.c -rw-r--r-- 6.6 KB
dynload_aix.c -rw-r--r-- 5.7 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-- 4.1 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 9.3 KB
errors.c -rw-r--r-- 25.3 KB
formatter_unicode.c -rw-r--r-- 506 bytes
frozen.c -rw-r--r-- 1.3 KB
frozenmain.c -rw-r--r-- 2.7 KB
future.c -rw-r--r-- 4.4 KB
getargs.c -rw-r--r-- 52.5 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 502 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-- 40.6 KB
import.c -rw-r--r-- 113.7 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.6 KB
modsupport.c -rw-r--r-- 14.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-- 24.0 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-- 1.5 KB
pystate.c -rw-r--r-- 20.8 KB
pystrcmp.c -rw-r--r-- 613 bytes
pystrtod.c -rw-r--r-- 37.6 KB
pythonrun.c -rw-r--r-- 73.1 KB
pytime.c -rw-r--r-- 1.7 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-- 53.1 KB
sysmodule.c -rw-r--r-- 56.0 KB
thread.c -rw-r--r-- 11.3 KB
thread_cthread.h -rw-r--r-- 2.3 KB
thread_foobar.h -rw-r--r-- 1.4 KB
thread_lwp.h -rw-r--r-- 2.8 KB
thread_nt.h -rw-r--r-- 9.3 KB
thread_os2.h -rw-r--r-- 5.7 KB
thread_pth.h -rw-r--r-- 4.6 KB
thread_pthread.h -rw-r--r-- 15.2 KB
thread_sgi.h -rw-r--r-- 8.0 KB
thread_solaris.h -rw-r--r-- 2.6 KB
thread_wince.h -rw-r--r-- 3.5 KB
traceback.c -rw-r--r-- 10.3 KB

back to top