Author skrah
Recipients brett.cannon, loewis, nadeem.vawda, pitrou, python-dev, skrah, vstinner
Date 2012-02-27.09:01:39
SpamBayes Score 0.0111799
Marked as misclassified No
Message-id <1330333299.91.0.0215506196472.issue14113@psf.upfronthosting.co.za>
In-reply-to
Content
> ... it seems that getlocale() doesn't accept LC_ALL as its argument:

The current situation is not ideal. getlocale() is documented to fail
("category may be one of the LC_* values except LC_ALL"), but it only
fails if there's a semicolon in the locale name:

if category == LC_ALL and ';' in localename:
    raise TypeError('category LC_ALL is not supported')


I'd prefer that getlocale(LC_ALL) fails consistently on all systems.
History
Date User Action Args
2012-02-27 09:01:40skrahsetrecipients: + skrah, loewis, brett.cannon, pitrou, vstinner, nadeem.vawda, python-dev
2012-02-27 09:01:39skrahsetmessageid: <1330333299.91.0.0215506196472.issue14113@psf.upfronthosting.co.za>
2012-02-27 09:01:39skrahlinkissue14113 messages
2012-02-27 09:01:39skrahcreate