[Python-Dev] nonlocal keyword in 2.x?

Lennart Regebro regebro at gmail.com
Wed Oct 28 07:30:44 CET 2009

2009/10/22 "Martin v. Löwis" <martin at v.loewis.de>:
> What use has such a stepping stone? Why, and (more importantly) when
> would anybody currently supporting 2.x give up 2.6 and earlier, and
> only support 2.7? And, if they chose to do so, why would they not move
> the code base to 3.x right away?

Python 2 support is not only about supporting old versions of Python,
but also supporting users of Python2-only modules.

If you have a module that runs only on Python 2.7, the people who for
some reason can not move to Python 3 yet, can still use it, by running
Python 2.7. For that your module doesn't have to run on 2.6 or 2.5.

So 2.7 support will for the most part be a case not of supporting
Python versions, but Python *users*.
Which is a good thing.

Lennart Regebro: Python, Zope, Plone, Grok
+33 661 58 14 64

More information about the Python-Dev mailing list