How to pickle bound methods

srinivasan srinivas sri_annauni at yahoo.co.in
Wed Jul 2 14:26:05 CEST 2008


I am writing client-server program. The server will send a methodname and its arguments to a client. The client has to execute the method and return back the results.
Thanks,
Srini



----- Original Message ----
From: Peter Otten <__peter__ at web.de>
To: python-list at python.org
Sent: Wednesday, 2 July, 2008 5:15:41 PM
Subject: Re: How to pickle bound methods

srinivasan srinivas wrote:

(Please don't top-post)

> It works will for instance and class methods. But it doesn't work for
> static methods. Can you tel me how to pickle static methods as well??

For static methods pickling is not so easy because these don't carry
information about the class they belong to. What are you trying to do?

Peter
--
http://mail.python.org/mailman/listinfo/python-list



      Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups/



More information about the Python-list mailing list