Did anyone attempt to patch pickle.py as suggested below, to diagnose the 
pickling problem?
Once you arrive at a problem, it is useful to know the chain of objects it is 
working with.

K

> -----Original Message-----
> From: [email protected] [mailto:stackless-
> [email protected]] On Behalf Of Kristján Valur Jónsson
> Sent: 24. október 2013 14:52
> To: The Stackless Python Mailing List
> Subject: Re: [Stackless] Fwd: deepcopying (pickling) channels
> 
> How about this:
> 
> def save(self, obj):
>   try:
>     return self._save(obj)
>   except PickleError:
>     print "pickling obj: %r", obj
>     raise
> 
> def _save(self, obj):
>   ... #rename old save to _save.
> 



_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to