[Python-Dev] locale and LC_NUMERIC (original) (raw)
Georg Brandl g.brandl-nospam at gmx.net
Sun Jan 8 20:39:08 CET 2006
- Previous message: [Python-Dev] test_curses
- Next message: [Python-Dev] locale and LC_NUMERIC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
import locale locale.setlocale(locale.LC_NUMERIC, "") 'de_DE at euro' "%f" % 1.0 '1.000000' u"%f" % 1.0 u'1,000000'
Is this intended? This breaks test_format on my box when test_builtin (method test_float_with_comma) is executed first.
regards, Georg
- Previous message: [Python-Dev] test_curses
- Next message: [Python-Dev] locale and LC_NUMERIC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]