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/2009-October/092796.html below:

[Python-Dev] transitioning from % to {} formatting

[Python-Dev] transitioning from % to {} formatting [Python-Dev] transitioning from % to {} formattingChristian Tanzer tanzer at swing.co.at
Thu Oct 8 18:08:41 CEST 2009
Michael Foord wrote at Thu, 08 Oct 2009 16:56:35 +0100:

> > If %-formatting is first deprecated then removed from Python and there
> > is no automatic transition path that effectively means that existing
> > code using %-formatting is forced to stay at whatever Python version
> > was the last one supporting %-formatting.
> >
> > I surely hope nobody is seriously considering such a scenario. Perl 6
> > seems harmless in comparison.
> >
> That is vastly overstating it. Making 'with' and 'as' keywords and
> removing string exceptions (which have already happened) will affect far
> more programs than a minor incompatibility in transitioning string
> formatting.

`with` and `as` are trivial to fix and certainly not pervasive in
existing code. String exceptions have been deprecated for years.

--
Christian Tanzer                                    http://www.c-tanzer.at/
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