[Stackless] Today's new bugs :)

Christian Tismer tismer at stackless.com
Thu Jan 29 19:54:30 CET 2004

Bob Ippolito wrote:
> I've discovered a bug with tasklet.become and tasklet.capture -- it may 
> only happen when you do it from the main tasklet, but it causes bad 
> things to happen.  I have not looked into it, but the test is 
> Stackless/tests/becomecapture.py

Ok. This script does *the wrong thing*(TM) of course, but
it should not give you a crash, that's for sure.
The idea behind become/capture is to squirrel the current
frame off and wrap a tasklet around it.
This is only possible once per frame, and the etst code tries
it multiple times.
If it does not complain but do funny things, I guess this
is introduced by my change the the tasklet_runner common
frame in f_back, which should be treated like NULL in this case.
Will look into that.

> There are two remaining bugs in Stackless/unittests/test_pickle:
>     testRecursiveEmbedded causes a gc error (I have not looked into it yet)
>     testFakeModules shows that the stackless-overrided ModuleType is not 
> yet equivalent to Python 2.3's version.  I will fix this myself, should 
> be easy, just letting you know.

Interesting. I don't have experience with 2.3 yet, so, sure,
this is quite probably.

> bajo_crash2.py still crashes, of course ;)

And I'm still at it, debugging...

ciao - chris

Christian Tismer             :^)   <mailto:tismer at stackless.com>
Mission Impossible 5oftware  :     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 89 09 53 34  home +49 30 802 86 56  mobile +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list