Santhosh Thottingal 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, we can close this bug
Santhosh Thottingal 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
<http://bugs.python.org/issue6
New submission from Santhosh Thottingal :
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 last)