Re: problem pickling a function

2007-12-12 Thread Emin.shopper Martinian.shopper
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 as

Re: problem pickling a function

2007-12-12 Thread Calvin Spealman
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 > b