[Stackless] Another 'print >>' bug

Christian Tismer tismer at tismer.com
Tue Apr 17 15:14:12 CEST 2001


Bernd Rinn wrote:
> 
> Hi Chris,
> 
> On Mon, Apr 16, 2001 at 07:03:19PM +0200, Christian Tismer wrote:
> > [...]
> > I tracked this one down. It was a bad condition where I failed
> > to clear the "stream" variable. Not sure if I should put
> > the fix on the web, since I'm working on 2.1?
> 
> Hmm, perhaps a last 2.0 bugfix-release of Stackless together with the
> fix for the reference counting bug once it is known?

Yes, it makes sense.
I'm after this bug since 20 hours now, and I still have no clue.
It is definately related to the timeslice() function. When I
change uthread9 to use timeslice with 1000 or more ticks,
everything works fine. That means, the auto-switching hurts
somehow. When I lower the time slice to 10, the program ends
up with a refcount of not four, but 16!

I'll give it another try. No idea whether this is a bug in
Stackless, or if it is an uthreads effect which simply doesn't
show up under 1.5.2 - sigh...

himmel-luja-sakrament-donnerwetter-nochamal - chris

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net/
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com/
_______________________________________________
Stackless mailing list
Stackless at starship.python.net
http://starship.python.net/mailman/listinfo/stackless



More information about the Stackless mailing list