[Python-ideas] String formatting and namedtuple
Adam Olsen
rhamph at gmail.com
Wed Feb 11 22:28:49 CET 2009
On Wed, Feb 11, 2009 at 2:24 PM, Guido van Rossum <guido at python.org> 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'm going to hide behind my vague use of "near future". Although I
didn't realize removal was even that specific yet.
--
Adam Olsen, aka Rhamphoryncus
More information about the Python-ideas
mailing list