[IPython-dev] Console ipython - multi-line history editing

Francesco Montesano franz.bergesund at gmail.com
Tue Oct 21 11:49:52 EDT 2014


On ipython 2.3, under opensuse 13.1, I've noticed this too, and found it
Within an ipython session I can get back the full code blocks. If I exit
ipython and re-enter I can get only one line at a time.

On my other machine with Kubuntu 14.04 roaming the history with the arrows
i get back correctly the code blocks .

On opensuse I have libreadline6 v 6.2-68.8.1 and on Kubuntu v 6.3-4.

If I have time I can give a try with older versions of ipython on opensuse
to check if the feature broke recently or has always been like this.


2014-10-21 17:33 GMT+02:00 Paul Moore <p.f.moore at gmail.com>:

> On 21 October 2014 16:26, Ronen Abravanel <ronena at gmail.com> wrote:
> > You can type '%edit 1' to edit In [1].
> > (Or '%edit _2' to edit Out [2])
> Ah, that might have been what I was remembering.
> > In QtConsole, the behavior is as you expected.
> Yeah, but the dependency on Qt means I mostly don't have that available...
> Thanks,
> Paul
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141021/25c0fb8e/attachment.html>

More information about the IPython-dev mailing list