[issue6895] locale._parse_localename fails when localename does not contain encoding information

2014-08-29 Thread Terry J. Reedy
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2014-07-12 Thread Mark Lawrence
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2014-05-14 Thread Serhiy Storchaka
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2014-05-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___ Python-bugs-list

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Steffen Daode Nurpmeso
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Marc-Andre Lemburg
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 =

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Stefan Krah
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-04 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: -- nosy: -sdaoden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2011-04-03 Thread Stefan Krah
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2010-02-13 Thread Santhosh Thottingal
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,

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2010-02-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___ Python-bugs-list

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-12-03 Thread Barry A. Warsaw
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 ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-12-03 Thread Martin v . Löwis
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-12-03 Thread Marc-Andre Lemburg
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-17 Thread Santhosh Thottingal
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - loewis nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895 ___ ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-16 Thread Gabriel Genellina
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

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-12 Thread Santhosh Thottingal
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