[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run-python hangs for some versions
From: |
Stefan Monnier |
Subject: |
Re: run-python hangs for some versions |
Date: |
Tue, 19 Jun 2007 01:52:04 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> This works correctly with python 2.4 and 2.5, but hangs with 2.2 and
> 3.0 (from svn). strace reports that emacs is running the following
> syscall over and over again:
> select(5, [3 4], NULL, NULL, {4, 999110}) = 0 (Timeout)
> This does not happen with the old python-mode in emacs 21.
Most likely it's stuck in the
(python-send-receive "import emacs; print '_emacs_out ()'")
in run-python. This is supposed to send the above command to python and
than wait for Python to reply by outputting "_emacs_out ()\n".
The `emacs' package is in ..emacs/etc/emacs.py.
Can you take a look at the *python* buffer see if it says something useful.
Or else take a look at ..emacs/etc/emacs.py and try to figure out why it's
not working right.
Stefan
- Re: run-python hangs for some versions,
Stefan Monnier <=