multiprocessing question/error

Gabriel Genellina gagsl-py2 at
Sat Jan 17 11:42:46 CET 2009

En Sat, 17 Jan 2009 14:14:37 -0200, Eduardo Lenz <lenz at>  

> Another question: is it possible to
> change a bound method to a function on the fly ? I was wondering if  
> something
> like class.__dict__["function_name"] could do the job.

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

More information about the Python-list mailing list