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 vstinner
Recipients Arfrever, benjamin.peterson, ezio.melotti, gregory.p.smith, lemburg, loewis, pitrou, vstinner
Date 2010-05-15.13:23:16
SpamBayes Score 0.022124644
Marked as misclassified No
Message-id <>
PyUnicode_AsEncodedString() contains a special path for the file system encoding. I don't think that it is still needed, but I don't know how to check that.

    /* During bootstrap, we may need to find the encodings
       package, to load the file system encoding, and require the
       file system encoding in order to load the encodings

       Break out of this dependency by assuming that the path to
       the encodings module is ASCII-only.  XXX could try wcstombs
       instead, if the file system encoding is the locale's
       encoding. */
    else if (Py_FileSystemDefaultEncoding &&
             strcmp(encoding, Py_FileSystemDefaultEncoding) == 0 &&
        return PyUnicode_EncodeASCII(PyUnicode_AS_UNICODE(unicode),
Date User Action Args
2010-05-15 13:23:19vstinnersetrecipients: + vstinner, lemburg, loewis, gregory.p.smith, pitrou, benjamin.peterson, ezio.melotti, Arfrever
2010-05-15 13:23:19vstinnersetmessageid: <>
2010-05-15 13:23:17vstinnerlinkissue8715 messages
2010-05-15 13:23:16vstinnercreate