Change func.im_self => func.__self__.
Python 3 chokes on this one. Whatever man.
Avoid using StandardError. It's gone in Python 3.
Fix: cPickle => pickle.
Remove unused variables.
Run python-modernize on the code base.