Antoine Pitrou <pit...@free.fr> added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9622> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com