Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - out of date
stage: - resolved
status: open - closed
versions: -Python 2.6, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
Mark Lawrence added the comment:
I agree with the sentiment expressed in msg218513 and would close this as out
of date.
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
Serhiy Storchaka added the comment:
For now the output of the code in msg132878 on Ubuntu is empty. May be this
issue is outdated.
--
nosy: +serhiy.storchaka
status: open - pending
___
Python tracker rep...@bugs.python.org
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
___
Python-bugs-list
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Stefan, theoretically this is
A valid locale description (as understood by S-SYS) is:
language[_TERRITORY[.CODESET[@Modifier]]]
where language is indeed a ISO 639 language code (see
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Stefan Krah wrote:
Stefan Krah stefan-use...@bytereef.org added the comment:
Is there another (authoritative) source for locale aliases apart
from X.org? On Ubuntu Lucid, many aliases for installed locales
are missing:
f =
Stefan Krah stefan-use...@bytereef.org added the comment:
Marc-Andre Lemburg rep...@bugs.python.org wrote:
The local file you mention only contains en_US.UTF-8 UTF-8 on
our Ubuntu 10.04.1 default installation.
Have you installed some other package to get support for all those
locales ?
On
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
--
nosy: -sdaoden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Is there another (authoritative) source for locale aliases apart
from X.org? On Ubuntu Lucid, many aliases for installed locales
are missing:
f = open(/var/lib/locales/supported.d/local)
locale_list = [loc.split()[0] for loc in
Santhosh Thottingal santhosh.thottin...@gmail.com added the comment:
I see that the ml_IN added to locale.alias of X.org.
lemburg, Do you think that my patch is still required as a fallback solution in
case xx_YY mapping not found in locale.alias?
If you can confirm that it is not required,
Changes by Brian Curtin cur...@acm.org:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
___
Python-bugs-list
Changes by Barry A. Warsaw ba...@python.org:
--
versions: +Python 2.6, Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Assigning to MAL, as this is his code.
--
assignee: loewis - lemburg
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
Marc-Andre Lemburg m...@egenix.com added the comment:
The reason this call fails is that there's no locale alias defined for
ml_IN in the local_alias dictionary.
While the patch is probably a good idea, it also hides the missing mapping.
I think a better approach would be to check the locale
Santhosh Thottingal santhosh.thottin...@gmail.com added the comment:
Attached the testcases as a patch to Lib/test/test_locale.py
--
Added file: http://bugs.python.org/file14915/test_locale.py.diff
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
assignee: - loewis
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
___
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
If you provide a test case the patch has a greater chance of being
accepted.
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
New submission from Santhosh Thottingal santhosh.thottin...@gmail.com:
locale._parse_localename fails when the locale name is in xx_YY format.
For example when the system locale is Malayalam(India), ml_IN we get
the following result
locale._parse_localename(ml_IN)
Traceback (most recent call
19 matches
Mail list logo