[IPython-dev] %history and %rep

Ville M. Vainio vivainio at gmail.com
Fri May 25 13:03:23 EDT 2007


On 5/25/07, Hans Meine <hans_meine at gmx.net> wrote:

> Attached you'll find a small patch that does that, and also handles strange
> input like the latter examples:
>
> %macro redo 4,5,7:10,15-16
> %macro redo 4, 5, 7:10, 15-16
> %macro redo 1,2 4 , 5, 7:10 15-16

I'm not really sure we *need* the support for ",", esp. as "new"
feature. 2:4 syntax is only there for people who got used to it, but
the current 1-3 7-8 syntax is as intuitive as it gets imo.

Just adjust your habits. :-)

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list