[Python-ideas] String formatting and namedtuple
Guido van Rossum
guido at python.org
Thu Feb 12 00:01:32 CET 2009
On Wed, Feb 11, 2009 at 2:15 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> Guido van Rossum wrote:
>> I thought the plan was to start deprecating % in 3.1 and remove it at
>> some later release (maybe 3.3). Or did I miss a reversal on this?
> I am aware of this as your idea and possibly even as your 'plan', but not of
> it as a consensus plan. I sense that there may be some quiet opposition.
It's not quiet any more.
> There is certainly some disconnect on the issue.
> So, unless you intend a quick BDFL pronouncement, I recommend you sometime
> start a "Deprecate % interpolation" thread to get arguments pro and con
> exposed and argued.
I don't intend to force the issue. I'm disappointed though --
.format() fixes several common stumbling blocks with %(name)s and at
least one with %s.
Let someone else start a new thread.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-ideas