[issue9630] Reencode filenames when setting the filesystem encoding

Marc-Andre Lemburg report at bugs.python.org
Fri Sep 24 13:43:53 CEST 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

STINNER Victor wrote:
> 
> STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> 
> New version of the patch:
>  - reencode sys.path_importer_cache (and remove the last FIXME)
>  - fix different reference leaks
>  - catch PyIter_Next() failures
>  - create a subfunction to reencode sys.modules: it's easier to review and manager errors in shorter functions
>  - add some comments

Why is this needed ?

With PYTHONFSENCODING there should be no need to change the FS
encoding after startup.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9630>
_______________________________________


More information about the Python-bugs-list mailing list