revert python-mode and magit to compatible versions witch Emacs 23