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

README

back to top