[Python-Dev] locale and LC_NUMERIC (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Mon Jan 9 23:19:39 CET 2006
- Previous message: [Python-Dev] locale and LC_NUMERIC
- Next message: [Python-Dev] Logging enhancements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Georg Brandl wrote:
import locale origlocale = locale.setlocale(locale.LCNUMERIC, '') locale.setlocale(locale.LCNUMERIC, 'frFR')
and later finally: locale.setlocale(locale.LCNUMERIC, origlocale)
Shouldn't the first setlocale have no second argument?
Oops, right - it certainly should.
Martin
- Previous message: [Python-Dev] locale and LC_NUMERIC
- Next message: [Python-Dev] Logging enhancements
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]