New submission from Stefan Krah <stefan-use...@bytereef.org>:

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.

----------
messages: 154495
nosy: skrah
priority: normal
severity: normal
status: open
title: getlocale(LC_ALL) behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14142>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to