Moving from Python 2 to Python 3: A 4 page "cheat sheet"

Mark Summerfield list at qtrac.plus.com
Wed Dec 2 03:01:34 EST 2009


On 1 Dec, 17:50, Mark Dickinson <dicki... at gmail.com> wrote:
> On Dec 1, 2:03 pm, Mark Summerfield <l... at qtrac.plus.com> wrote:
>
> > I've produced a 4 page document that provides a very concise summary
> > of Python 2<->3 differences plus the most commonly used new Python 3
> > features.
>
> Very nice indeed!
>
> My only quibble is with the statement on the first page that
> the 'String % operator is deprecated'.  I'm not sure that's
> true, for all values of 'deprecated'.  There don't appear
> to be any definite plans for getting rid of it just yet.
>
> Mark

I didn't make this up:-)

According to http://docs.python.org/dev/3.0/whatsnew/3.0.html
"The plan is to eventually make this the only API for string
formatting, and to start deprecating the % operator in Python 3.1."



More information about the Python-list mailing list