Staging
v0.5.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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 556 bytes
.hgignore -rw-r--r-- 771 bytes
.hgtags -rw-r--r-- 3.8 KB
LICENSE -rw-r--r-- 14.2 KB
Makefile.pre.in -rw-r--r-- 40.4 KB
README -rw-r--r-- 6.7 KB
configure -rwxr-xr-x 393.8 KB
configure.in -rw-r--r-- 121.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.5 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 77.0 KB

README

back to top