This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients kristjan.jonsson, pitrou
Date 2010-08-17.10:58:02
SpamBayes Score 2.0353668e-06
Marked as misclassified No
Message-id <1282042679.3220.0.camel@localhost.localdomain>
In-reply-to <1282042396.09.0.283083349464.issue9622@psf.upfronthosting.co.za>
Content
> Good question.  Is that simple to do?  I didn't think to look if there
> were a central list of all python TLS states.

There's a linked list from the current interpreter state, which in turn
can be got from the current thread state (see Include/pystate.h).
Of course, it would be better to add macros than access the fields
directly.
History
Date User Action Args
2010-08-17 10:58:03pitrousetrecipients: + pitrou, kristjan.jonsson
2010-08-17 10:58:02pitroulinkissue9622 messages
2010-08-17 10:58:02pitroucreate