[IPython-dev] Auto-calling question

Ville M. Vainio vivainio@gmail....
Mon Feb 26 15:39:11 CST 2007


On 2/26/07, Dan Milstein <danmil@comcast.net> wrote:

> So that all hook-installed prefilters will play well together, but
> that, if any of those do anything, then self.handle_normal is called
> and nothing else from the core IPython system happens.  Is there
> something I'm missing?

No, you are not missing anything. The magics and other "system" stuff
are currently not implemented through the hook system, and that's one
of the reasons I hoped your cleanup scheme would "harmonize" the
'built-in' prefilters (actually, I'm not sure I even like the idea of
built in prefilter too much) with the hooks system. In the meantime,
you can easily convert %foo to _ip.magic("foo") if you want, to get
the magics working.

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


More information about the IPython-dev mailing list