[Python-Dev] PyThreadState_GET() returns NULL from within PyImport_GetModuleDict() (original) (raw)

Larry Hastings larry at hastings.org
Mon Aug 7 20:44:48 EDT 2017


On 08/07/2017 05:11 PM, Patrick Rutkowski wrote:

Does anyone have any ideas here?

My one idea: the GIL isn't initialized until you create a new thread.

//arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170807/48d9ab9b/attachment-0001.html>



More information about the Python-Dev mailing list