symbolic python
Michael Hudson
mwh at python.net
Sun May 26 14:21:14 EDT 2002
Benjamin Tai <bt98 at doc.ic.ac.uk> writes:
> 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.
But please note there's likely to be a better way of doing anything
you actually want to get done...
Cheers,
M.
--
QNX... the OS that walks like a duck, quacks like a duck, but is,
in fact, a platypus. ... the adventures of porting duck software
to the platypus were avoidable this time.
-- Chris Klein, alt.sysadmin.recovery
More information about the Python-list
mailing list