[SciPy-dev] IPython updated (Emacs works now)

eric eric at scipy.org
Tue Feb 19 02:10:48 CST 2002

Hey Fernando,

Just downloaded IPython to take a look.

Looks like the emacs tests break on windows since TERM is not normally set

C:\Program Files\IPython>IPython_shell.py
Traceback (most recent call last):
  File "C:\Program Files\IPython\IPython_shell.py", line 6, in ?
    import IPython.Shell, sys
  File "C:\Python21\IPython\Shell.py", line 20, in ?
    from ipmaker import make_IPython
  File "C:\Python21\IPython\ipmaker.py", line 49, in ?
    from iplib import *
  File "C:\Python21\IPython\iplib.py", line 187, in ?
    if os.environ['TERM'] == 'emacs':
  File "C:\Python21\lib\os.py", line 372, in __getitem__
    return self.data[key.upper()]
KeyError: TERM


----- Original Message -----
From: "Fernando Pérez" <fperez at pizero.colorado.edu>
To: <scipy-dev at scipy.org>
Sent: Tuesday, February 19, 2002 3:43 AM
Subject: [SciPy-dev] IPython updated (Emacs works now)

> Hi everyone,
> there's a new release of IPython at the usual
> http://www-hep.colorado.edu/~fperez/ipython/ for your testing pleasure.
> Of particular interest (for Travis, at least) is that things now work inside
> an Emacs (at least my Xemacs) buffer. The problem turned out to be a series
> of ugly interactions with curses and readline. The morale is, *never* use
> either of those modules in a python program which will try to run inside an
> Emacs buffer. It was kind of a PITA to track down.
> But now there's workarounds everywhere which check if the terminal is 'emacs'
> and try their best to make things work. Please let me know how this goes.
> I've been going back and forth with Eric and there seems to be some interest
> in using IPython, so I'm open to comments from all.
> Best regards,
> Fernando.
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

More information about the Scipy-dev mailing list