A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059569.html below:

[Python-Dev] locale and LC_NUMERIC

[Python-Dev] locale and LC_NUMERIC [Python-Dev] locale and LC_NUMERIC"Martin v. Löwis" martin at v.loewis.de
Mon Jan 9 23:19:39 CET 2006
Georg Brandl wrote:
>              import locale
>              orig_locale = locale.setlocale(locale.LC_NUMERIC, '')
>              locale.setlocale(locale.LC_NUMERIC, 'fr_FR')
> 
> and later
> 
>          finally:
>              locale.setlocale(locale.LC_NUMERIC, orig_locale)
> 
> 
> Shouldn't the first setlocale have no second argument?

Oops, right - it certainly should.

Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4