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.

classification
Title: getlocale(LC_ALL) behavior
Type: behavior Stage: resolved
Components: Versions: Python 3.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: skrah
Priority: normal Keywords:

Created on 2012-02-27 17:33 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg154495 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-02-27 17:33
This came up in #14113. getlocale(LC_ALL) is documented to fail, at
least that's how I read this:

   "category may be one of the LC_* values except LC_ALL."


But in fact getlocale(LC_ALL) works if there is no semicolon in the
locale name:

>>> getlocale(LC_ALL)
('en_US', 'ISO8859-1')


I would prefer if getlocale(LC_ALL) fails consistently. If that's
not possible, then this is a documentation issue.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58350
2014-05-13 21:52:04skrahsetstatus: open -> closed
type: behavior
resolution: out of date
stage: resolved
2012-02-27 17:33:13skrahcreate