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: locale.getdefaultlocale() missing corner case
Type: behavior Stage: resolved
Components: Documentation, Library (Lib) Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: Dmitry.Jemerov, georg.brandl, groodt, lemburg, loewis, mfabian, python-dev, r.david.murray, rg3, serhiy.storchaka, vstinner
Priority: normal Keywords: patch

Created on 2009-04-22 18:20 by rg3, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
locale.diff rg3, 2009-04-22 18:20
locale_parse.patch serhiy.storchaka, 2012-07-14 13:27 review
locale_parse_2.patch serhiy.storchaka, 2013-09-13 13:30 review
locale_parse_2a.patch serhiy.storchaka, 2013-09-13 15:05 Patch without changes to locale_alias. review
Messages (40)
msg86312 - (view) Author: (rg3) Date: 2009-04-22 18:20
A recent issue with one of my programs has shown that
locale.getdefaultlocale() does not handle correctly a corner case. The
issue URL is this one:

http://bitbucket.org/rg3/youtube-dl/issue/7/

Essentially, some users have LANG set to something like
es_CA.UTF-8@valencia. In that case, locale.getdefaultlocale() returns,
as the encoding, the string "utf_8_valencia", which cannot be used as an
argument to the string encode() function. The obvious correct encoding
in this case is UTF-8.

I have traced the problem and it seems that it could be fixed by the
attached patch. It checks if the encoding, at that point, contains the
'@' symbol and, in that case, removes everything starting at that point,
leaving only "UTF-8".

I am not sure if this patch or a similar one should be applied to other
Python versions. My system has Python 2.5.2 and that's what I have patched.

Explanation as to why I put the code there:

* The simple case, es_CA.UTF-8 goes through that point too and enters
the "if".
* I wanted to remove what goes after the '@' symbol at that point, so it
either needed to be removed before the call to the normalizing function
or inside the normalization.
* As this is not what I would consider a normalization, I put the code
before the function call.

Thanks for your hard work. I hope my patch is valid.

Regards.
msg86313 - (view) Author: (rg3) Date: 2009-04-22 18:26
I just realized that the "if" I introduced is not really needed.
"encoding = encoding.split('@')[0]" works whether the '@' symbol is
present or not.
msg86317 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-04-22 18:52
I wasn't able to reproduce this by just setting my LC_ALL environment
variable to es_CA.UTF-8@valencia and calling getdefaultlocale.  Can you
provide more complete steps to reproduce?
msg86318 - (view) Author: (rg3) Date: 2009-04-22 19:20
You are right. The issue is not reproduced with es_CA.UTF-8@valencia but
with ca_ES.UTF-8@valencia. The fact that the first case works makes me
think maybe there's another way to solve the problem. Can you check that?
msg86319 - (view) Author: (rg3) Date: 2009-04-22 19:30
Further investigation:

The guy who had this issue may be from Valencia, Spain. According to the
manpage for setlocale(3) in my system, the form is usually
language[_territory][.codeset][@modifier]. So, in this case, it would
make sense for the language to be "ca" (Catalan) and territory "ES" (Spain).

My patch may be fine after all. Because, if at that point the @modifier
is still present (I have seen code that removes it before that point),
you'd still want to remove it and keep only the "codeset", which is the
interesting part.
msg86327 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-04-22 20:26
OK, it turns out that this is one of a class of known bugs of long
standing (see issue554676 and issue1080864, for example).  The
recommended solution is to not use locale.getdefaultlocale, but to use
locale.getperferredencoding.  I have confirmed that that works for the
case of ca_ES.UTF-8@valencia in python2.5.

There is at least a doc bug here, since no mention of this
fragility/recommendation is made in the getdefaultlocale documentation.

Using getpreferredencoding seems to be the correct solution to your
problem.  However, the locale.py module contains a number of examples of
modifiers in the locale_alias table.  Presumably this case could be
added, but it is not clear to me what the policy is on that at this
time, so I'm adding Martin to the nosy list looking for some guidance.
msg86332 - (view) Author: (rg3) Date: 2009-04-22 20:52
Excellent. Thanks for the tip. I'll now proceed to modify my code to use
getpreferredencoding. Still, I think getdefaultlocale should work
because it could be used in other situations, I suppose.
msg164859 - (view) Author: Greg Roodt (groodt) * Date: 2012-07-07 14:34
Bumping this as part of a bug scrub at EuroPython. Is this still an issue? Should we fix in docs or in code?
msg165264 - (view) Author: (rg3) Date: 2012-07-11 16:45
I don't know if the behavior is considered a bug or just undocumented, but under Python 2.7.3 it's still the same. locale.getpreferredencoding() does return UTF-8, but the second element in the tuple locale.getdefaultlocale() is "utf_8_valencia", which is not a valid encoding despite the documentation saying it's supposed to be an encoding name.

From my terminal:

$ python -V
Python 2.7.3

$ LANG=ca_ES.UTF-8@valencia python -c 'import locale; print locale.getpreferredencoding()'
UTF-8

$ LANG=ca_ES.UTF-8@valencia python -c 'import locale; print locale.getdefaultlocale()'
('ca_ES', 'utf_8_valencia')

$ LANG=ca_ES.UTF-8 python -c 'import locale; print locale.getpreferredencoding()'
UTF-8

$ LANG=ca_ES.UTF-8 python -c 'import locale; print locale.getdefaultlocale()'
('ca_ES', 'UTF-8')
msg165267 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-07-11 19:11
The patch is not work for "ca_ES@valencia" locale.

And there are issues for such locales: "ks_in@devanagari", "ks_IN@devanagari.UTF-8", "sd", "sd_IN@devanagari.UTF-8" ("ks_in@devanagari" in locale_alias maps to "ks_IN@devanagari.UTF-8" and "sd" to "sd_IN@devanagari.UTF-8").
msg165447 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-07-14 13:25
Here is yet some inconsistency:

$ LANG=uk_ua.microsoftcp1251 ./python -c "import locale; print(locale.getdefaultlocale())"
('uk_UA', 'CP1251')
$ LANG=uk_ua.microsoft-cp1251 ./python -c "import locale; print(locale.getdefaultlocale())"
('uk_UA', 'microsoft_cp1251')

$ ./python -c "import locale; print(locale.normalize('ka_ge.georgianacademy'))"
ka_GE.GEORGIAN-ACADEMY
$ ./python -c "import locale; print(locale.normalize('ka_GE.GEORGIAN-ACADEMY'))"
ka_GE.georgian_academy
msg165448 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2012-07-14 13:27
Here is a complex patch for more careful locale parsing.
msg192461 - (view) Author: Dmitry Jemerov (Dmitry.Jemerov) Date: 2013-07-06 16:24
A related issue (a case which isn't taken into account by Serhiy's patch) is http://bugs.python.org/issue18378
msg197572 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 13:30
Patch updated. Added tests. The locale_alias mapping updated to be self-consistency (i.e. for every name in locale_alias.values() normalize(name) == name).
msg197575 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-09-13 13:41
It would be great if this could get a review by MAL, since it looks like a non-trivial change.

Also, you have some (commented out) debug prints in there.
msg197577 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2013-09-13 13:45
On 13.09.2013 15:30, Serhiy Storchaka wrote:
> 
> Serhiy Storchaka added the comment:
> 
> Patch updated. Added tests. The locale_alias mapping updated to be self-consistency (i.e. for every name in locale_alias.values() normalize(name) == name).

Could you elaborate on the alias changes ?

Were those coming from an updated X11 local.alias file ?

If so, I'd suggest to create two patches: one with the alias
updates (which can then also be backported) and one with the
new normalization code (which is a new feature and probably
cannot be backported).

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com
msg197580 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 14:17
> Also, you have some (commented out) debug prints in there.

These debug prints were in old code.
msg197581 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-09-13 14:19
Ah, I see.  I only scanned the patch quickly, obviously.
msg197583 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 14:34
> Could you elaborate on the alias changes ?
> Were those coming from an updated X11 local.alias file ?

No, they are not from X11 local.alias file. They are a result of the test_locale_alias self-test, I have fixed all failures.

This test can't be backported without rest of changes, because they fix other error, for example processing encodings with hyphen. Without them test_locale_alias will fail even with updated locale_alias. I.e. we can backport either changes to locale_alias without tests, or changes to locale_alias with all changes to parser and tests, or changes to parser and all tests except test_locale_alias.

Current code doesn't work with locales with modifiers and locales with hyphenated encodings.
msg197585 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 15:04
Here is a patch without changes to locale_alias.
msg197588 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2013-09-13 15:18
On 13.09.2013 16:34, Serhiy Storchaka wrote:
> 
> Serhiy Storchaka added the comment:
> 
>> Could you elaborate on the alias changes ?
>> Were those coming from an updated X11 local.alias file ?
> 
> No, they are not from X11 local.alias file. They are a result of the test_locale_alias self-test, I have fixed all failures.
> 
> This test can't be backported without rest of changes, because they fix other error, for example processing encodings with hyphen. Without them test_locale_alias will fail even with updated locale_alias. I.e. we can backport either changes to locale_alias without tests, or changes to locale_alias with all changes to parser and tests, or changes to parser and all tests except test_locale_alias.
> 
> Current code doesn't work with locales with modifiers and locales with hyphenated encodings.

Then I don't understand changes such as:

-    'chinese-s':                            'zh_CN.eucCN',
+    'chinese-s':                            'zh_CN.gb2312',

or

-    'sp':                                   'sr_CS.ISO8859-5',
-    'sp_yu':                                'sr_CS.ISO8859-5',
+    'sp':                                   'sr_RS.ISO8859-5',
+    'sp_yu':                                'sr_RS.ISO8859-5',

The .test_locale_alias() checks that the normalize()
function returns the the alias given in the alias table.

If you have to make changes to the alias table that cause the
encoding to or locale to change, something is wrong with
normalize() function.

Note that we are using the X11 locale.alias file as basis for
the mapping, so any such changes need to be found there as
well.

The Tools/i18n/makelocalealias.py script can be used to create
an updated listing.

Please remember that the output of the alias table
is a C runtime locale string. Those do not necessarily
use the same encodings as we do in Python.

Perhaps we should open a separate ticket for the update of the
alias table. I just ran the script on my older dev system
and it returned this list of changes compared to what's in
Python 2.7:

#    added 'ar_in'
#    added 'as_in'
#    added 'be_bg'
#    added 'bo_in'
#    added 'en_dk'
#    added 'hne_in'
#    added 'ks_in'
#    added 'mai_in'
#    added 'ml_in'
#    added 'ne_np'
#    added 'or_in'
#    added 'pa_pk'
#    added 'sd_in'
#    added 'sd_in@devanagari'
#    added 'te_in'
#    updated 'univ' -> 'en_US.utf' to 'en_US.UTF-8'
#    added 'ur_in'
#    added 'zh_sg'
msg197599 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-13 15:44
> Then I don't understand changes such as:
>
> -    'chinese-s':                            'zh_CN.eucCN',
> +    'chinese-s':                            'zh_CN.gb2312',
>
> or
>
> -    'sp':                                   'sr_CS.ISO8859-5',
> -    'sp_yu':                                'sr_CS.ISO8859-5',
> +    'sp':                                   'sr_RS.ISO8859-5',
> +    'sp_yu':                                'sr_RS.ISO8859-5',
>
> The .test_locale_alias() checks that the normalize()
> function returns the the alias given in the alias table.
>

It also test normalize(locale_alias[localname]) == locale_alias[localname]
== normalize(localname). I.e. that applying normalize() twice doesn't
change a result.

chinese-s is mapped to zh_CN.eucCN, but eucCN is mapped to gb2312. sp is
mapped to sr_CS.ISO8859-5, but sr_CS is mapped to sr_RS.UTF-8 and then
.ISO8859-5 replaces UTF-8. Of course we can recursive call normalize(), but
it will be more practical just update the mapping.
msg202498 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-09 20:34
Ping. There are two duplicate issues opened last month.
msg202544 - (view) Author: Mike FABIAN (mfabian) Date: 2013-11-10 18:32
Serhiy, in your patch you seem to have special treatment for
the devanagari modifier:

+                # Devanagari modifier placed before encoding.
+                return code, modifier.split('.')[1]

Probably because of 

       'ks_in@devanagari':                     'ks_IN@devanagari.UTF-8',
       'sd':                                   'sd_IN@devanagari.UTF-8',

in the locale_alias dictionary.

But I think these two lines are just wrong, this mistake
is inherited from the locale.alias from X.org where the
python locale_alias comes from.

glibc:

mfabian@ari:~
$ locale -a | grep ^sd
sd_IN
sd_IN.utf8
sd_IN.utf8@devanagari
sd_IN@devanagari
mfabian@ari:~
$ locale -a | grep ^ks
ks_IN
ks_IN.utf8
ks_IN.utf8@devanagari
ks_IN@devanagari
mfabian@ari:~
$ 

The encoding should always be *before* the modifier.
msg202565 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-10 20:03
The /usr/share/X11/locale/locale.alias file in Ubuntu 12.04 LTS contains ks_IN@devanagari.UTF-8 and sd_IN@devanagari.UTF-8 entities. While the encoding is expected to be before the modifier, if there are systems with ks_IN@devanagari.UTF-8 or sd_IN@devanagari.UTF-8 locales we should support these weird case.
msg202601 - (view) Author: Mike FABIAN (mfabian) Date: 2013-11-11 04:32
Serhiy> The /usr/share/X11/locale/locale.alias file in Ubuntu 12.04 LTS
Serhiy> contains ks_IN@devanagari.UTF-8 and sd_IN@devanagari.UTF-8
Serhiy> entities.

Yes, I know, that’s why I wrote that the Python code inherited this mistake
from X.org.

Serhiy> While the encoding is expected to be before the modifier, if
Serhiy> there are systems with ks_IN@devanagari.UTF-8 or
Serhiy> sd_IN@devanagari.UTF-8 locales we should support these weird case.

There are no such systems really, in X.org this is just a mistake.
glibc doesn’t write it like this and it is agains the specification
here:

http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html#tag_002

     [language[_territory][.codeset][@modifier]]
msg202603 - (view) Author: Mike FABIAN (mfabian) Date: 2013-11-11 04:55
In glibc, sd_IN@devanagari.UTF-8 is an invalid locale name,
only sd_IN.UTF-8@devanagari is valid:

mfabian@ari:~
$ LC_ALL=sd_IN.UTF-8@devanagari locale charmap
UTF-8
mfabian@ari:~
$ LC_ALL=sd_IN@devanagari.UTF-8 locale charmap
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968
mfabian@ari:~
$ 

So I think this should be fixed in X.org.
msg202633 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2013-11-11 16:42
>> Then I don't understand changes such as:
>>
>> -    'chinese-s':                            'zh_CN.eucCN',
>> +    'chinese-s':                            'zh_CN.gb2312',
>>
>> or
>>
>> -    'sp':                                   'sr_CS.ISO8859-5',
>> -    'sp_yu':                                'sr_CS.ISO8859-5',
>> +    'sp':                                   'sr_RS.ISO8859-5',
>> +    'sp_yu':                                'sr_RS.ISO8859-5',
>>
>> The .test_locale_alias() checks that the normalize()
>> function returns the the alias given in the alias table.

As mentioned earlier, the purpose of the alias table is to map
*normalized* local names to the C runtime string, which in some
cases use different encoding names that we use in Python.

> It also test normalize(locale_alias[localname]) == locale_alias[localname]
> == normalize(localname). I.e. that applying normalize() twice doesn't
> change a result.

That's not intended. The normalize() function is supposed to
prepare the locale for the lookup. It's not supposed to be applied
to the looked up value.

About the devangari special case:
This has been in the X11 file for ages and still is ...
http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/locale.alias.pre
msg202644 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-11 19:21
> That's not intended. The normalize() function is supposed to
prepare the locale for the lookup. It's not supposed to be applied
to the looked up value.

Last patch doesn't contain this part of tests.
msg202645 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-11-11 19:25
> There are no such systems really, in X.org this is just a mistake.
glibc doesn’t write it like this and it is agains the specification
here:

While normalize can return sd_IN@devanagari.UTF-8, _parse_localename() should be able correctly parse it. Removing sd_IN@devanagari.UTF-8 from alias table is another issue.
msg202647 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2013-11-11 19:54
On 11.11.2013 20:21, Serhiy Storchaka wrote:
> 
>> That's not intended. The normalize() function is supposed to
>> prepare the locale for the lookup. It's not supposed to be applied
>> to the looked up value.
> 
> Last patch doesn't contain this part of tests.

Thanks.
msg202682 - (view) Author: Mike FABIAN (mfabian) Date: 2013-11-12 11:18
Serhiy> While normalize can return sd_IN@devanagari.UTF-8, _parse_localename()
Serhiy> should be able correctly parse it.

But if normalize returns sd_IN@devanagari.UTF-8, isn’t that quite
useless because it is a locale name which does not actually work
in glibc?

Serhiy> Removing sd_IN@devanagari.UTF-8 from alias table is another issue.

Yes. I think it should be fixed in the alias table as well.
msg206555 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-18 21:57
Marc-Andre, do you have comments or objections?
msg206558 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2013-12-18 22:16
On 18.12.2013 22:57, Serhiy Storchaka wrote:
> 
> Marc-Andre, do you have comments or objections?

Your last patch looks fine, but I don't have time to test it.

Regarding the broken *devanagari* entries in the alias table:
I think we should remove or correct those.

The purpose of normalize() is to return a valid libc locale
identifier and if the values in the alias table are clearly
wrong and don't work with libc, there's little point in keeping
them, even if the X11 file still lists them with the wrong
notation.

If we can fix them so that they do work with libc, let's do that.
If we can't let's remove them. In both cases, please add a comment
mentioning the case and why things were changed/removed.

Hope that helps. Thanks.
msg206632 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-19 19:21
New changeset 3d805bee06e2 by Serhiy Storchaka in branch '2.7':
Issue #5815: Fixed support for locales with modifiers.  Fixed support for
http://hg.python.org/cpython/rev/3d805bee06e2

New changeset 28883e89f335 by Serhiy Storchaka in branch '3.3':
Issue #5815: Fixed support for locales with modifiers.  Fixed support for
http://hg.python.org/cpython/rev/28883e89f335

New changeset b50971bccfc3 by Serhiy Storchaka in branch 'default':
Issue #5815: Fixed support for locales with modifiers.  Fixed support for
http://hg.python.org/cpython/rev/b50971bccfc3
msg206634 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-19 19:27
Committed without devanagari special case and tests.
msg206638 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-19 19:48
For devanagari modifier opened new issue20027.
msg206645 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-12-19 20:24
Buildbot failure:

http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.3/builds/1314/steps/test/logs/stdio

======================================================================
ERROR: test_locale_alias (test.test_locale.NormalizeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/buildslave/3.3.murray-gentoo-wide/build/Lib/test/test_locale.py", line 374, in test_locale_alias
    with self.subTest(locale=(localename, alias)):
AttributeError: 'NormalizeTest' object has no attribute 'subTest'
msg206646 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-19 20:32
New changeset e0675408f4af by Serhiy Storchaka in branch '2.7':
Don't use sebTest() in tests for issue #5815.
http://hg.python.org/cpython/rev/e0675408f4af

New changeset ed16f6695638 by Serhiy Storchaka in branch '3.3':
Don't use sebTest() in tests for issue #5815.
http://hg.python.org/cpython/rev/ed16f6695638
msg206647 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-12-19 20:34
Oh, thanks Victor.
History
Date User Action Args
2022-04-11 14:56:48adminsetgithub: 50065
2013-12-19 20:34:17serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg206647
2013-12-19 20:32:49python-devsetmessages: + msg206646
2013-12-19 20:24:28vstinnersetstatus: closed -> open
resolution: fixed -> (no value)
messages: + msg206645
2013-12-19 19:48:42serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: + msg206638

stage: patch review -> resolved
2013-12-19 19:27:01serhiy.storchakasetmessages: + msg206634
2013-12-19 19:21:55python-devsetnosy: + python-dev
messages: + msg206632
2013-12-18 22:16:53lemburgsetmessages: + msg206558
2013-12-18 21:57:25serhiy.storchakasetmessages: + msg206555
2013-11-12 11:18:06mfabiansetmessages: + msg202682
2013-11-11 19:54:20lemburgsetmessages: + msg202647
2013-11-11 19:25:16serhiy.storchakasetmessages: + msg202645
2013-11-11 19:21:22serhiy.storchakasetmessages: + msg202644
2013-11-11 16:42:56lemburgsetmessages: + msg202633
2013-11-11 04:55:20mfabiansetmessages: + msg202603
2013-11-11 04:32:13mfabiansetmessages: + msg202601
2013-11-10 20:03:23serhiy.storchakasetmessages: + msg202565
2013-11-10 18:32:52mfabiansetnosy: + mfabian
messages: + msg202544
2013-11-09 20:34:15serhiy.storchakasetmessages: + msg202498
2013-11-09 08:44:39serhiy.storchakalinkissue19534 superseder
2013-10-22 11:46:11vstinnersetnosy: + vstinner
2013-10-22 11:40:53serhiy.storchakalinkissue19341 superseder
2013-09-13 15:44:37serhiy.storchakasetmessages: + msg197599
2013-09-13 15:18:42lemburgsetmessages: + msg197588
2013-09-13 15:05:33serhiy.storchakasetfiles: + locale_parse_2a.patch
2013-09-13 15:04:16serhiy.storchakasetmessages: + msg197585
2013-09-13 14:34:36serhiy.storchakasetmessages: + msg197583
2013-09-13 14:19:44r.david.murraysetmessages: + msg197581
2013-09-13 14:17:08serhiy.storchakasetmessages: + msg197580
2013-09-13 13:45:43lemburgsetmessages: + msg197577
2013-09-13 13:41:28r.david.murraysetmessages: + msg197575
2013-09-13 13:30:41serhiy.storchakasetfiles: + locale_parse_2.patch

assignee: docs@python -> serhiy.storchaka
versions: - Python 3.2
keywords: - easy
nosy: + lemburg

messages: + msg197572
stage: needs patch -> patch review
2013-07-06 16:24:14Dmitry.Jemerovsetnosy: + Dmitry.Jemerov
messages: + msg192461
2012-10-06 15:15:36serhiy.storchakasetversions: + Python 3.4
2012-07-14 13:27:21serhiy.storchakasetfiles: + locale_parse.patch

messages: + msg165448
2012-07-14 13:25:44serhiy.storchakasetmessages: + msg165447
2012-07-11 19:11:00serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg165267
2012-07-11 16:45:38rg3setmessages: + msg165264
2012-07-07 14:34:45groodtsetnosy: + groodt
messages: + msg164859
2011-11-29 06:14:21ezio.melottisetkeywords: + easy
versions: + Python 3.2, Python 3.3, - Python 2.6, Python 3.0, Python 3.1
2010-10-29 10:07:21adminsetassignee: georg.brandl -> docs@python
2009-04-22 20:52:01rg3setmessages: + msg86332
2009-04-22 20:26:45r.david.murraysetassignee: georg.brandl
components: + Documentation
versions: + Python 2.6, Python 3.0, Python 3.1, Python 2.7, - Python 2.5
nosy: + loewis, georg.brandl

messages: + msg86327
stage: test needed -> needs patch
2009-04-22 19:30:42rg3setmessages: + msg86319
2009-04-22 19:20:23rg3setmessages: + msg86318
2009-04-22 18:52:33r.david.murraysetpriority: normal

nosy: + r.david.murray
messages: + msg86317

stage: test needed
2009-04-22 18:26:24rg3setmessages: + msg86313
2009-04-22 18:20:44rg3create