This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Arfrever, amaury.forgeotdarc, lemburg, pitrou, vstinner
Date 2010-09-24.12:08:27
SpamBayes Score 1.4550099e-07
Marked as misclassified No
Message-id <1285330113.79.0.0115943788085.issue9630@psf.upfronthosting.co.za>
In-reply-to
Content
>It is not possible to set Py_FilesystemDefaultEncoding before loading 
>the first module. initfsencoding() loads codecs and encodings modules to 
>check the codec name.

Not sure it's related, but there seems to be a bug:

$ ./python -c "import sys; print(sys.getfilesystemencoding())"
utf-8
$ LC_CTYPE=latin1 ./python -c "import sys; print(sys.getfilesystemencoding())"
ascii
$ LC_CTYPE=fr_FR:iso8859-1 ./python -c "import sys; print(sys.getfilesystemencoding())"
ascii
History
Date User Action Args
2010-09-24 12:08:33pitrousetrecipients: + pitrou, lemburg, amaury.forgeotdarc, vstinner, Arfrever
2010-09-24 12:08:33pitrousetmessageid: <1285330113.79.0.0115943788085.issue9630@psf.upfronthosting.co.za>
2010-09-24 12:08:28pitroulinkissue9630 messages
2010-09-24 12:08:27pitroucreate