From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Adam Hupp <adam@hupp.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: run-python hangs for some versions
Date: Tue, 19 Jun 2007 10:06:14 -0400 [thread overview]
Message-ID: <jwv8xag3upw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20070619075147.GA4253@mouth.upl.cs.wisc.edu> (Adam Hupp's message of "Tue\, 19 Jun 2007 02\:51\:47 -0500")
>> > 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 ()'")
> Thanks for the pointer. It looks like the problem is that Python 3
> has some syntactic changes that break both emacs.py and the above
> statement. With updates for the syntax changes (print and eval are
> now functions) it does work fine.
> I'll try to come up with a fix that works across versions.
That would be very helpful, thank you.
Stefan
next prev parent reply other threads:[~2007-06-19 14:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2279.1182076226.32220.bug-gnu-emacs@gnu.org>
2007-06-19 5:52 ` run-python hangs for some versions Stefan Monnier
2007-06-19 7:51 ` Adam Hupp
2007-06-19 14:06 ` Stefan Monnier [this message]
2007-06-17 10:15 adam
2007-06-18 7:25 ` Richard Stallman
2007-06-18 10:46 ` Adam Hupp
2007-06-19 10:40 ` Richard Stallman
2007-06-21 5:29 ` Adam Hupp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv8xag3upw.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=adam@hupp.org \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.