[issue9632] Remove sys.setfilesystemencoding()

Marc-Andre Lemburg report at bugs.python.org
Thu Aug 19 22:54:24 CEST 2010


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

While you're right that adjusting the FS encoding long after Python has already started is probably not such a good idea, I do think that we need to provide a way to set the FS encoding from within Python without having to rely on external settings.

Think of e.g. embedded Python interpreters or py2exe-style applications running on Linux or other systems that don't use Unicode APIs for FS-interaction or have fixed FS-encodings.

----------

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


More information about the Python-bugs-list mailing list