Subject: Re: bug#8630: 23.1; Emacs freezes when creating nearly empty __init__.py

From: Glenn Morris <[email-masked]>
Date: Fri, 06 May 2011 13:14:07 -0400

Daniel Gonzalez wrote:

> This line seems to be the culprit:
>
> (autoload 'python-mode "python-mode" "Python Mode." t)
>
> With that line commented out, the problem does not occur anymore.

Right, so you're not using the python mode that comes with Emacs.
So you need to either use the one that does, or report your problem to
whoever maintains the mode that you use.