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.