[IPython-dev] Re: Question about IPython behaviour
Fernando Perez
Fernando.Perez at colorado.edu
Wed Jul 27 12:50:55 EDT 2005
Robert Kern wrote:
> Fernando Perez wrote:
>
>
>>I talked to M. Hudson (pyrepl's author) ages ago about this: pyrepl
>>wasn't suitable for ipython because it's curses-based. That's how they
>>get multi-line capabilities. It is certainly a possibility to build a
>>curses-enabled version of ipython which could run on top of pyrepl.
>
>
> I'm not so interested in that part of pyrepl. I haven't delved through
> the code enough, but it does do multiline editing pretty much as we want
> to do in the GUI. To enable that, the component that executes the inputs
> probably doesn't use the code.InteractiveConsole line-based API.
> *That's* the part we should steal (if indeed, it does exist and I'm not
> just thinking wishfully). The curses bit is fluff that is obviated by
> going GUI.
I was just trying to fill the history in vs ipython/pyrepl. We should
certainly see if they have that part built in a reasonably curses-independent
way which we can reuse/steal.
Cheers,
f
More information about the IPython-dev
mailing list