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/2008-June/080093.html below:

[Python-Dev] converting the stdlib to str.format

[Python-Dev] converting the stdlib to str.format [Python-Dev] converting the stdlib to str.formatPaul Moore p.f.moore at gmail.com
Fri Jun 6 11:31:11 CEST 2008
On 06/06/2008, Georg Brandl <g.brandl at gmx.net> wrote:
> Greg Ewing schrieb:
> > Paul Moore wrote:
> >
> >
> > > Because the second breaks if value is a tuple:
> > >
> >
> > However, changing it now is going to break a huge
> > amount of existing code that uses %-formatting,
> > and in ways that 2to3 can't reliably fix.
> >
> > Keeping %-formatting but breaking a large
> > proportion of its uses doesn't seem like a good
> > idea to me.
> >
>
> Exactly. If % formatting is removed in 3k, code breaks, so we keep it.
> Changing it now so that code breaks anyway is not productive :)

Just to clarify, I'm not advocating change here. My comment (above)
about code breaking was in reference to an issue with a chunk of
user-level code which got clipped from the quote, and is completely
unrelated to any diiscussion of changing Python.

Paul.
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