> You can use the FunctionType class found in the types module (and its > friends) to create functions on the run. > And you can use the 'inspect' module to inspect existing functions, if you > need to base the new function on an existing one.
Hi Gal, Seems the types module docs do not even have a single line of docs for FunctionType and there isn't any that I found online. From the few examples on StackOverflow it appears like it might do the job however I do not see how to specify a signature, I only see how to specify defaults. Do you have any ideas? Thanks for the info, jlc -- https://mail.python.org/mailman/listinfo/python-list