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/2004-July/046382.html below:

[Python-Dev] Re: PEP 331: Locale-Independent Float/String Conversions

[Python-Dev] Re: PEP 331: Locale-Independent Float/String Conversions [Python-Dev] Re: PEP 331: Locale-Independent Float/String Conversions"Martin v. Löwis" martin at v.loewis.de
Tue Jul 20 18:47:40 CEST 2004
P at draigBrady.com wrote:
> Oh cool. Since we're now setting LC_NUMERIC at the glibc level
> can we fix up locale.format. It's is very simplistic at the moment
> as it groups %s items as numbers:
>     locale.format("%s",1234,1) -> '1,234'
> and treats non numbers as numbers:
>      locale.format("%s\n",1234,1) -> '12,34\n'

Indeed. The second one is incorrect usage of the function.

Feel free to submit patches. However, make sure they work on all
relevant platforms.

Regards,
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