Python 2.x fixes
Added python 3.2