On 2/24/2010 8:13 AM, 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.

An excellent goal, for the reasons Nick stated.

Would this be allowed under the moratorium?

I see the formating mini-language as somewhat separate from Python syntax itself (as is the re minilanguage). In any case, it is new and somewhat experimental, rather than being the result of 20 years of testing.

Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to