[Python-Dev] Proposal to drop f_tstate
Thu, 12 Jun 2003 19:35:44 +0200
Guido van Rossum wrote:
>>>>Therefore, I hereby propose to remove this frame field,
>>>>in order to save space.
>>>I notice that all the places that use f_tstate are functions that get
>>>a frame passed in. What makes you believe that those always run in
>>>the same thread where the frame was created?
>>I assumed that f_tstate was just some cache, and one would
>>never try to look into a different thread.
>>This was a wrong assumption.
> I don't know that it is. I just don't know that it isn't, either.
It is in fact possible to call PyTraceBack_Here with
any frame, and this could theoretically be from
a different thread.
So I'd better not touch anything. No big deal.
>>Sorry, I will und my changes, ASAP.
> Where did you make any changes?
Oh, just in my Stackless trunk.
I reverted my stuff to the last version.
thanks & cheers - chris
Christian Tismer :^) <mailto:firstname.lastname@example.org>
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 pager +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/