[IPython-user] Need post_runcode_hook

Gustavo Carneiro gjcarneiro@gmail....
Fri Dec 19 12:26:03 CST 2008


2008/12/19 Ville M. Vainio <vivainio@gmail.com>

> 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<https://code.launchpad.net/%7Evillemvainio/ipython/trunk-dev>


Looks good.  Thank you.

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20081219/39b8e1d0/attachment.html 


More information about the IPython-user mailing list