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 loewis
Recipients Arfrever, lemburg, loewis, pitrou, r.david.murray, sdaoden, vstinner
Date 2012-06-05.05:37:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za>
In-reply-to
Content
I think it's absolutely necessary that text files, by default, are opened in the encoding of the user's locale, whether the script has called setlocale or not.

There are reasons for C to not automatically call setlocale at startup (mostly backwards compatibility), but they don't apply to Python.
History
Date User Action Args
2012-06-05 05:37:23loewissetrecipients: + loewis, lemburg, pitrou, vstinner, Arfrever, r.david.murray, sdaoden
2012-06-05 05:37:23loewissetmessageid: <1338874643.0.0.0361940629538.issue11022@psf.upfronthosting.co.za>
2012-06-05 05:37:22loewislinkissue11022 messages
2012-06-05 05:37:22loewiscreate