A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-February/108167.html below:

[Python-Dev] %-formatting depracation

[Python-Dev] %-formatting depracationNick 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4