On 11/5/2010 9:55 AM gb345 said...

In any case, the problem remains of how to extract the
dynamically-generated function's source code.


Are you looking for the source code of the dynamically created wrapper function (effectively the piece that calls the original function) or of the wrapped function? (the piece that ultimately gets called?)

I'm pretty sure you can't get source from the executable function (python 2.x anyway), but with your naming scheme, it may be possible to trace into the wrapped function's source.

Emile

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to