symbolic python

Kragen Sitaker kragen at pobox.com
Sat May 25 14:09:41 EDT 2002


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.




More information about the Python-list mailing list