[IPython-dev] cpaste and history

Fernando Perez fperez.net at gmail.com
Sun Mar 18 23:51:57 EDT 2007

On 7/20/06, Stefan van der Walt <stefan at sun.ac.za> wrote:
> Hi all,
> While using cpaste, I noticed that the readline search history does
> not reflect the executed code.  I.e., if you do
> In [1]: cpaste
> Pasting code; enter '--' alone on the line to stop.
> :    x = 1
> :--
> x = 1
> and then type
> In [2]: x =<up-arrow>
> it does not complete.  Rather
> In [2]:     x =<up-arrow>
> does.  I played around a bit, but couldn't see an obvious way to
> retrospectively change the raw_input history.  Does anyone here know
> how?
> While I see the logic of the current behaviour, I think it might be
> more useful to put the dedented commands in the history.

Feel free to file a ticket on this one.

We certainly won't get to this for the next release, but without a
ticket the issue will just be forgotten the moment I hit 'archive' in
my gmail account (in 5 seconds :)



More information about the IPython-dev mailing list