[Python-3000] String formating operations in python 3k

Bill Janssen janssen at parc.com
Wed Apr 5 08:02:36 CEST 2006


> As for the % operator, I never liked it -- either a builtin function,  
> or even better a method of string objects, is going to be much more  
> readable (and my preference would be to have it take optional  
> positional arguments, corresponding to {1}, {2}, etc, and optional  
> named arguments, corresponding to {name} &c).

Sure, I prefer the builtin function myself to the % operator.  But I
still like the printf-like syntax of the formatting commands, and
think that %(foo) is a reasonable extension to that syntax.

Bill


More information about the Python-3000 mailing list