[Python-ideas] String formatting and namedtuple
tjreedy at udel.edu
Wed Feb 11 23:15:35 CET 2009
Guido van Rossum wrote:
> On Wed, Feb 11, 2009 at 1:18 PM, Adam Olsen <rhamph at gmail.com> wrote:
>> On Wed, Feb 11, 2009 at 5:09 AM, Lie Ryan <lie.1296 at gmail.com> wrote:
>>> Is % interpolation deprecated? I've never heard of that...
>> There's no plans to remove it in the near future, so it's not
>> deprecated, and there's no problem using it when it's convenient.
>> However, .format() obsoletes it. .format() is significantly more
>> powerful for reasons just like this. There's no reason to add new
>> features to % interpolation with .format() around.
> 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. 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.
More information about the Python-ideas