STINNER Victor <victor.stin...@haypocalc.com> added the comment:

"keep the C function"

Hum, currently, Python3 only has a *private* function called 
_Py_SetFileSystemEncoding() which can only be called after _Py_InitializeEx() 
(because it relies on the codecs API). If you consider that there is a real use 
case, we should create a function to set the filesystem encoding, function that 
should (have to?) be called before Py_InitializeEx().

I still think that Python knows better than the application how to set the 
encoding (when, how to choose it, etc.).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to