[Stackless] Fwd: deepcopying (pickling) channels

Kristján Valur Jónsson kristjan at ccpgames.com
Fri Oct 25 17:44:36 CEST 2013


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: stackless-bounces at stackless.com [mailto:stackless-
> bounces at stackless.com] 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.
> 





More information about the Stackless mailing list