symbolic python
Benjamin Tai
bt98 at doc.ic.ac.uk
Sat May 25 14:49:01 EDT 2002
Kragen Sitaker wrote:
> Benjamin Tai <bt98 at doc.ic.ac.uk> writes:
> > Is there any chance to print out the code inside the function_body?
> >
> > When I receive a method object, would it be possible to get into the
> > function_body, and dynamically change the method's behaviour?
>
> Yes, see bytecodehacks.
Hi,
Looks very interesting. Thank you very much for the advise.
Ben
More information about the Python-list
mailing list