Python docs bug in 2.6 - 'as' is now a reserved keyword

http://docs.python.org/whatsnew/2.6.html#porting-to-python-2-6 doesn't mention that 'as' is now a reserved keyword in Python 2.6 and so any variables named 'as' will need to be renamed. Regards, Tim PS Handily, we're warned about this in Python 2.5 :) Python 2.5 (r25, Dec 12 2008, 17:45:12) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
as=1 <stdin>:1: Warning: 'as' will become a reserved keyword in Python 2.6

Hello Tim, On Mon, Oct 31, 2011 at 15:32, Tim Bellis <Tim.Bellis@metaswitch.com> wrote:
2.6 is in security-only fixes status, so we can't fix this kind of bugs. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi

Hello Tim, On Mon, Oct 31, 2011 at 15:32, Tim Bellis <Tim.Bellis@metaswitch.com> wrote:
2.6 is in security-only fixes status, so we can't fix this kind of bugs. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Sandro Tosi
-
Tim Bellis