Re: [Python-Dev] floating point literals don't work in non-US locale in 2.5

2005-12-29 Thread Guido van Rossum
Not the first time this happened. :-( Could someone add a unit test for this please? --Guido On 12/28/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > someone recently broke floating point literals in a rather spectacular > way: > > $ export LANG=sv_SE.utf8 > $ ./python > Python 2.5a0 (41806M, Dec

[Python-Dev] floating point literals don't work in non-US locale in 2.5

2005-12-28 Thread Fredrik Lundh
someone recently broke floating point literals in a rather spectacular way: $ export LANG=sv_SE.utf8 $ ./python Python 2.5a0 (41806M, Dec 25 2005, 12:12:29) Type "help", "copyright", "credits" or "license" for more information. >>> 3.14 3.1401 >>> import locale >>> locale.setlocale(loc