[Python-ideas] String formatting and namedtuple

Guido van Rossum guido at python.org
Wed Feb 11 22:24:55 CET 2009

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?

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-ideas mailing list