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/2010-February/097932.html below:

[Python-Dev] Add alternate float formatting styles to new-style formatting: allowed under moratorium?

[Python-Dev] Add alternate float formatting styles to new-style formatting: allowed under moratorium? [Python-Dev] Add alternate float formatting styles to new-style formatting: allowed under moratorium?Nick Coghlan ncoghlan at gmail.com
Wed Feb 24 14:42:05 CET 2010
Eric Smith wrote:
> http://bugs.python.org/issue7094 proposes adding "alternate" formatting
> [1] to floating point new-style formatting (float.__format__ and
> probably Decimal.__format__). I'd like to add this to make automated
> translation from %-formatting strings to str.format strings easier.
> 
> Would this be allowed under the moratorium? I think it falls under the
> Case-by-Case Exemptions section, but let me know what you think.

+1 to add it. We want the new-style formatting to be able to replace as
many old style uses as possible (preferably all of them) and this is a
well-defined formatting operation from C99.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
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