PEP8 ipython integration
Python 2.5 compatibility fixes