[IPython-user] Need post_runcode_hook

Ville M. Vainio vivainio@gmail....
Fri Dec 19 12:16:36 CST 2008


On Sat, Sep 27, 2008 at 7:12 PM, Ville M. Vainio <vivainio@gmail.com> wrote:

> While I'm at it, I could also add a run_code_hook that would enable
> customizing the 'exec code_obj in self.user_global_ns, self.user_ns'
> part (which would allow overriding one of the most critical phases of
> ipython code execution). It could even be used to implement the
> current MTInteractiveShell stuff in extension (w/o subclassing), which
> could be enabled "on the fly" by importing an extension.

Blast from the past!

I have implement runcode_hook in my trunk_dev:

https://code.launchpad.net/~villemvainio/ipython/trunk-dev

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-user mailing list