[pypy-dev] sprint report
tismer at stackless.com
Tue Jul 24 21:33:09 CEST 2007
As Jacob mentioned, I worked on fixing Stackless Pickling.
I thought this would be a quick thing for the first morning, but
it blocked me very much until the end of the sprint, where
a discussion with Samuele clarified to us (we both didn't
understand it for quite long).
The problem holds for any app-level implementation of any
switching concept that should be pickled:
Unless you implement this very ugly with global variables, only,
you will always have a reference to the tasklet/whatever on the
python stack, that tries to do the pickling. I.E. you always end up
the pickler itself, in principal.
This does not happen from the main tasklet, because it has special
handing for that case.
This needs to be re-thought. Some special code, somewhat similar to
resume points in RPython needs to be implemented, to shortcut
the frames on the Python stack which should not be visible (and
therefore being pickled) at all.
Hoping to be more productive and communicative next time - this was a
ciao - 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 --------------
An HTML attachment was scrubbed...
More information about the Pypy-dev