From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Otto Maddox <ottomaddox@fastmail.fm>
Cc: bug-gnu-emacs@gnu.org, 359@emacsbugs.donarmstrong.com
Subject: bug#359: Inferior Python hangs at startup
Date: Thu, 05 Jun 2008 10:21:22 -0400 [thread overview]
Message-ID: <jwv4p88c6ec.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <1212588443.32247.1256719049@webmail.messagingengine.com> (Otto Maddox's message of "Wed, 04 Jun 2008 15:07:23 +0100")
> M-x run-python RET
> Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import emacs; print '_emacs_out ()
> and the inferior Python buffer hangs.
I cannot reporduce it. I did:
% emacs/22/src/emacs -Q
then
M-x run-python RET
which resulted in a *Python* buffer containing just
Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
I then typed something at that prompt and it worked fine. I even tried
to type "import emacs; print '_emacs_out ()" and it correctly signalled
an error:
Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print 1
1
>>> import emacs; print '_emacs_out ()
File "<stdin>", line 1
import emacs; print '_emacs_out ()
^
SyntaxError: EOL while scanning single-quoted string
>>> print 1
1
>>>
Can you try and come up with a more precise recipe to reproduce
your problem? Or maybe it's specific to your build (I see you're
apparently running under macosx, is that an X11 build? A Carbon
build?).
Stefan
next prev parent reply other threads:[~2008-06-05 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 14:07 bug#359: Inferior Python hangs at startup Otto Maddox
2008-06-05 14:21 ` Stefan Monnier [this message]
2008-06-06 0:32 ` Otto Maddox
2008-06-07 15:56 ` Otto Maddox
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4p88c6ec.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=359@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=ottomaddox@fastmail.fm \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).