several changes
enable to use tab completion when using python

http://blog.monophile.com/2013/04/python-tab.html