[Python-Dev] Extension modules, Threading, and the GIL
"Martin v. Löwis"
martin@v.loewis.de
Thu, 09 Jan 2003 13:58:48 +0100
Mark Hammond wrote:
> Yes, good catch. A PyInterpreterState must be known, and as you stated
> previously, it is trivial to get one of these and stash it away globally.
> The PyThreadState is the problem child.
Then of course you know more than Tim would grant you: you do have an
interpreter state, and hence you can infer that Python has been
initialized. So I infer that your requirements are different from Tim's.
Regards,
Martin