[Stackless] deepcopying (pickling) channels

Kristján Valur Jónsson kristjan at ccpgames.com
Tue Oct 8 14:54:45 CEST 2013


I think deepcopy can simply use __reduce__() so in a sense, they are the same.
But pickling execution state was supposed to be one of the features of stackless, so this is surprising.  I'll investigate.
K

> -----Original Message-----
> From: stackless-bounces at stackless.com [mailto:stackless-
> bounces at stackless.com] On Behalf Of Richard Tew
> Sent: 3. október 2013 03:20
> To: The Stackless Python Mailing List
> Subject: Re: [Stackless] deepcopying (pickling) channels
> 
> I'm a little confused.  Are you pickling the tasklets, or copying them?  These
> are different things to Python.
> 
> As far as I know using copy or deepcopy has never been supported for
> tasklets and therefore channels.
> 
> Pickling however, is another matter.
> 
> Cheers,
> Richard.
> 
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless





More information about the Stackless mailing list