GNU bug report logs - #359
Inferior Python hangs at startup

Previous Next

Package: emacs;

Reported by: "Otto Maddox" <ottomaddox <at> fastmail.fm>

Date: Wed, 4 Jun 2008 14:15:03 UTC

Severity: normal

Tags: moreinfo

Merged with 515

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Otto Maddox" <ottomaddox <at> fastmail.fm>
To: "Stefan Monnier" <monnier <at> IRO.UMontreal.CA>
Cc: 359 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#359: Inferior Python hangs at startup
Date: Sat, 07 Jun 2008 16:56:33 +0100
OK, so I just tried it with a locally built python instead of the Apple python, and it works.  So the problem seems to be something to do with the combination of Emacs 22.2 on Mac OS X 10.5 and Apple's python.


On Thu, 05 Jun 2008 10:21:22 -0400, "Stefan Monnier" <monnier <at> IRO.UMontreal.CA> said:
> > 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
-- 
  Otto Maddox
  ottomaddox <at> fastmail.fm

-- 
http://www.fastmail.fm - The way an email service should be






This bug report was last modified 13 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.