]> granicus.if.org Git - python/commit
Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 10 Sep 2010 21:57:59 +0000 (21:57 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 10 Sep 2010 21:57:59 +0000 (21:57 +0000)
commit5b519e02016ea3a51f784dee70eead3be4ab1aff
tree5886b329aef1b3d5fe965c78b97f82f99b93f6bf
parent6246d6dcb01c690fd82e870e5c4affbd2848d22c
Issue #9632: Remove sys.setfilesystemencoding() function: use PYTHONFSENCODING
environment variable to set the filesystem encoding at Python startup.
sys.setfilesystemencoding() creates inconsistencies because it is unable to
reencode all filenames in all objects.
Doc/library/sys.rst
Include/fileobject.h
Lib/test/test_sys.py
Misc/NEWS
Python/bltinmodule.c
Python/sysmodule.c