A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/041248.html below:

Does anybody really use frame->f_tstate ?)

[Python-Dev] Last chance! (was: Does anybody really use frame->f_tstate ?) [Python-Dev] Last chance! (was: Does anybody really use frame->f_tstate ?)Guido van Rossum guido at python.org
Fri Dec 19 10:31:42 EST 2003
> since I didn't get *any* reply to this request,
> either the request was bad or there is really
> nobody using f_tstate 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 f_tstate 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 f_tstate is never updated.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4