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 ncoghlan
Recipients Jan Niklas Hasse, Sworddragon, abarry, akira, ezio.melotti, lemburg, methane, ncoghlan, r.david.murray, vstinner, yan12125
Date 2016-12-28.15:29:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482938961.37.0.469592098194.issue28180@psf.upfronthosting.co.za>
In-reply-to
Content
If nothing is configured (i.e. none of LC_ALL, LC_CTYPE or LANG are set in the environment), then C reports the locale as "C". It's probably worthwhile for me to add a Background section to the PEP that explains the behaviour of ``setlocale`` at the C level, as that's the source of the majority of the problems, as well as the key mechanism used to implement the locale coercion.
History
Date User Action Args
2016-12-28 15:29:21ncoghlansetrecipients: + ncoghlan, lemburg, vstinner, ezio.melotti, r.david.murray, methane, akira, Sworddragon, yan12125, abarry, Jan Niklas Hasse
2016-12-28 15:29:21ncoghlansetmessageid: <1482938961.37.0.469592098194.issue28180@psf.upfronthosting.co.za>
2016-12-28 15:29:21ncoghlanlinkissue28180 messages
2016-12-28 15:29:21ncoghlancreate