Another question: is it possible tochange a bound method to a function on the fly ? I was wondering if somethinglike class.__dict__["function_name"] could do the job.
Exactly.Or, if you already have the method, use its im_func attribute to obtain the original function. BTW, im_self is the "self" argument.
-- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list