Author ronaldoussoren
Recipients Dmitry.Jemerov, barry-scott, loewis, ned.deily, r.david.murray, ronaldoussoren, serhiy.storchaka, vstinner
Date 2015-07-25.10:12:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437819150.31.0.662150158736.issue18378@psf.upfronthosting.co.za>
In-reply-to
Content
The only locale that doesn't include language information is the UTF-8 one, there is no locale named "US-ASCII".

See /usr/share/locale on an OSX system.

PS. The more I look at locale.py the more problems I find with it. The code makes a unwarranted assumptions about locales that aren't actually true on all systems.

For example:

>>> locale.normalize('ja_JP')
'ja_JP.eucJP'


That's not true on OSX, /usr/share/locale/ja_JP/LC_CTYPE is a symlink to /usr/share/locale/UTF-8/LC_CTYPE.

AFAIK *all* locale's on OSX use UTF-8.
History
Date User Action Args
2015-07-25 10:12:30ronaldoussorensetrecipients: + ronaldoussoren, loewis, barry-scott, vstinner, ned.deily, r.david.murray, Dmitry.Jemerov, serhiy.storchaka
2015-07-25 10:12:30ronaldoussorensetmessageid: <1437819150.31.0.662150158736.issue18378@psf.upfronthosting.co.za>
2015-07-25 10:12:30ronaldoussorenlinkissue18378 messages
2015-07-25 10:12:29ronaldoussorencreate