[Stackless] Error for the pickle of a module in a package + patch

Christian Tismer tismer at stackless.com
Sat Nov 10 15:24:39 CET 2007

Richard Tew wrote:
> On 11/8/07, Alain Poirier <alain.poirier at net-ng.com> wrote:
>> When a module in a package is pickled then unpickled, the result is
>> the package, not the module:


> Thanks for the patch.  There's another pickling related patch from a
> few weeks ago which needs to go in as well.  Once Kristjan Valur's new
> crash fix is in along with these, it will probably be worth doing a
> new release of Stackless.

There is something else wrong with pickling of cells.
I will try to dig this up before a release.
This bugged me on EuroPython, but I forgot it.

Ah yes, here it is. Something is wrong with
the cell support code.

Attached a working pickling demo and a non-working one.
It barfs when running the second time, argument tasklet.pickle

cheers - chris
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pickledtasklet.py
Type: text/x-python-script
Size: 666 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20071110/3cd70992/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pickledtasklet2.py
Type: text/x-python-script
Size: 711 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20071110/3cd70992/attachment-0001.bin>

More information about the Stackless mailing list