Dear Experts,
I love the pickle module, but I occasionally have problems pickling a
function. For example, if I create an instance g of class f and assign
g.xto a function, then I cannot pickle g (example code below). I know
that I
can pickle f separately if I want to, and I understand why I get
On Dec 12, 2007, at 11:01 AM, Emin.shopper Martinian.shopper wrote:
Dear Experts,
I love the pickle module, but I occasionally have problems pickling
a function. For example, if I create an instance g of class f and
assign g.x to a function, then I cannot pickle g (example code
On Dec 12, 2007 11:48 AM, Calvin Spealman [EMAIL PROTECTED]
wrote:
On Dec 12, 2007, at 11:01 AM, Emin.shopper Martinian.shopper wrote:
But is there a way to assign functions to instances of a class
without preventing pickleability? It doesn't seem unreasonable to
me to want to assign