[IPython-dev] Musings: syntax for high-level expression of parallel (and other) execution control

Fernando Perez fperez.net at gmail.com
Thu Sep 17 14:36:36 EDT 2009


2009/9/17 Brian Granger <ellisonbg.net at gmail.com>:
> Yes, but where does the decorator module get the source code?

It doesn't, IPython does that.  But by keeping a reference to the
real, original undecorated function (this reference is normally lost),
then IPython's introspection can do its job correctly and finds the
sources.

Does that help?

Cheers,

f



More information about the IPython-dev mailing list