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

Brian Granger ellisonbg.net@gmail....
Thu Sep 17 16:00:56 CDT 2009

> 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.
OK, this makes sense.  What are the limitations of this approach?
That is, are the circumstances where it is not possible to get the
source code from the undecorated reference.



> Does that help?
> Cheers,
> f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20090917/4bcbe5ce/attachment.html 

More information about the IPython-dev mailing list