[Python-Dev] %-formatting depracation
Nick Coghlan
ncoghlan at gmail.com
Tue Feb 22 22:52:23 CET 2011
On Wed, Feb 23, 2011 at 4:51 AM, Brett Cannon <brett at python.org> wrote:
> The very long term view is for %-formatting to go away, but that's as far as
> the thinking has gone. There are currently no plans to introduce any
> deprecation warning, and I highly doubt we will even remove the feature in
> Python 3, giving you probably at least another decade of use at our current
> major version release schedule. =)
This. Without a systematic way to detect and convert %-style to
{}-style formatting, enforcing the switch in the 3.x series just isn't
practical. Heck, we still haven't figured out how to convert a lot of
higher level APIs to the new scheme in a backwards compatible way
(that's why modules like logging still default to %-style, with
{}-style only available via options and wrapper objects).
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list