commit | c39211f51e377919952b139c46e295800cbc2a8d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Wed Sep 29 16:35:47 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Wed Sep 29 16:35:47 2010 +0000 |
tree | efdb794b06981b5047e699d606b2876e2170b07e | |
parent | a5785b1524074656f0a0ec64e5e5cdb27aa3a356 [diff] |
Issue #9630: Redecode filenames when setting the filesystem encoding 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.