[IPython-user] using with emacs

Krishna Mohan Gundu gkmohan at gmail.com
Sat Jun 3 17:24:12 CDT 2006


On 5/24/06, Stefan van der Walt <stefan at sun.ac.za> wrote:
> Hi all
>
> Has anyone else had problems running the latest version of ipython
> (SVN) under emacs?  I get output that looks like this:
>
> Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.7.2.rc1 -- An enhanced Interactive Python.
> ?       -> Introduction to IPython's features.
> %magic  -> Information about IPython's 'magic' % functions.
> help    -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: x
>
> In [2]: 
> Do you really want to exit ([y]/n)? Do you really want to exit
> ([y]/n)? Do you really want to exit ([y]/n)? Do you really want to
> exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really want
> to exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really
> want to exit ([y]/n)? Do you really want to exit ([y]/n)? Do you
> really want to exit ([y]/n)? Do you really want to exit ([y]/n)? Do
> you really want to exit ([y]/n)? Do you really want to exit ([y]/n)?
> Do you really want to exit ([y]/n)? Do you really want to exit
> ([y]/n)? Do you really want to exit ([y]/n)? Do you really want to
> exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really want
> to exit ([y]/n)? Do you really want to exit ([y]/n)?

I accidentally reproduced this effect. Try `echo "" | ipython.py`

[krishna at master ipython]$ echo "" | ipython.py
Python 2.4.3 (#1, Apr  8 2006, 19:10:42)
Type "copyright", "credits" or "license" for more information.

IPython 0.7.2 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: 
In [1]: 
Do you really want to exit ([y]/n)? Do you really want to exit
([y]/n)? Do you really want to exit ([y]/n)? Do you really want to
exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really want
to exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really
want to exit ([y]/n)? Do you really want to exit ([y]/n)? Do you
really want to exit ([y]/n)? Do you really want to exit ([y]/n)? Do
you really want to exit ([y]/n)? Do you really want to exit ([y]/n)?
Do you really want to exit ([y]/n)? Do you really want to exit
([y]/n)? Do you really want to exit ([y]/n)? Do you really want to
exit ([y]/n)? Do you really want to exit ([y]/n)? Do you really want
to exit ([y]/n)? Do you really want to exit ([y]/n)?

Does this have to do with EOF on a pipe?

cheers,
Krishna.




More information about the IPython-user mailing list