Snakes and Cats. Tab-completion in Python and iPython on Leopard

[UPDATE]: The latest builds of iPython have a fix for tab-completion built-in, so the patch mentioned below isn’t necessary.

Python users who are running Mac OS X 10.5, aka Leopard, will be pleased to find that Leopard ships with Python version 2.5.1, and comes with a host of wonderful things. ¬†Especially in the PyObjC realm, something I’ll cover in another post. ¬† Tiger had a rather lame build of Python 2.3 installed by default which had no readline support.