It’s time for Python 2.7
eli.thegreenplace.net
eli.thegreenplace.net
This is the Long Term Support version of Python, the one that is currently getting bug fixes and will continue to get bug fixes long into the future.
AFAICT, there are very few reasons to be using an older version of Python. By now, most of major third-party modules are working with 2.7 so there shouldn't be much holding you back.
Four words: Red Hat Enterprise Linux.
wget http://www.python.org/ftp/python/2.7/Python-2.7.tgz
tar xvfz Python-2.7.tgz
cd Python-2.7
./configure
make
su
make altinstall
Note: use "make altinstall" to avoid damaging the system python.Unfortunately, psyco isn't x86_64 compatible either. So if you want to use psyco, you are "stuck" with python2.6 on x86.
Not yet, indeed. But according to their site they do have a stackless version: "PyPy can be configured to run in stackless mode, providing micro-threads for massive concurrency". This sounds promising, and could be used to implement gevent.
It was my first great exposure to python (I have some C, C++, lua, lisp behind me). I have to say wasn't expecting Python 2.5.2 and Python 2.6.x? (2009 and 2012 respectively) to support each other, but with "import from future" and other tricks I was able to get code working on both.
So thanks for the article, as my day job requires some more knowledge of it (but personally I do not favor python)