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

Fernando Perez fperez.net@gmail....
Thu Sep 17 13:36:36 CDT 2009


2009/9/17 Brian Granger <ellisonbg.net@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