[IPython-dev] Regression bug in 0.8.x input filtering

Ville M. Vainio vivainio at gmail.com
Wed May 23 17:23:30 EDT 2007


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

>    ...:     r'^\s*((?P<self>\w+)\.)?' +
>    ...:     # The function name (must match exactly) [XX] not anymore!
>    ...:     r'(?P<func>\w+)' +
> ------------------------------------------------------------
>    File "<ipython console>", line 5
>      _ip.magic(r"r '(?P<func>\w+)' +")

Ah, it's the magic %r, "repeat previous input".

We should demand whitespace between magic / alias and the "rest", or
alternatively we do a quick fix and just delete the magic "r". Who
uses it anyway? That's what "up + enter" is for.

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



More information about the IPython-dev mailing list