LWN.net Logo

Python 2.6 doesn't do it (yet)

Python 2.6 doesn't do it (yet)

Posted Oct 22, 2009 16:50 UTC (Thu) by dwheeler (guest, #1216)
In reply to: Needed: Gentle transition path by foom
Parent article: Proposal: Moratorium on Python language changes

Yes, in theory, you can use Python 2.6 and "import from __future" to get a Python 3.0-like language, and use a Python subset so that 2to3 can catch the rest. But it isn't easy. And that's the advantage of Python: Usually, stuff is easy.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds