[Python-Dev] Last chance! (original) (raw)

Christian Tismer tismer at stackless.com
Sat Mar 27 23:13:39 EST 2004


Guido van Rossum wrote:

since I didn't get any reply to this request, either the request was bad or there is really nobody using ftstate in a way that makes it urgent to keep. I will wait a few hours and then make the change to Stackless, and I'd like to propose to do the same to the Python core.

I saved the message, but haven't had the time yet to think things through. I did notice at least one case where using ftstate might actually be a mistake: theoretically it's possible that two or more threads alternate calling next() on a generator (if they wrap it in a critical section); AFAICT the ftstate is never updated.

I've been running Stackless Python without f_tstate for more than three months now, in various applications. May I check in a patch to evict f_tstate?

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/



More information about the Python-Dev mailing list