[IPython-dev] Strange behavior of history with multi-line recalls

Gael Varoquaux gael.varoquaux at normalesup.org
Sat Nov 3 10:54:34 EDT 2007


On Fri, Nov 02, 2007 at 06:04:24PM -0600, Fernando Perez wrote:
> Things like lines 59-60 or 62-64 shouldn't happen.  Normally whenever
> you type multi-line input, it registers as a single input line number.
>  The way these ended in there was because I'd recalled previous
> multi-line input and edited it, point at which somehow the history
> list ended up filled with more than one entry.

I have noticed this too. It happens for lines that have been entered in a
previous session, but not for lines entered in the running session. So it
seems that the information that these lines form a block does not survive
saving and reloading.

Gaël



More information about the IPython-dev mailing list