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 vstinner
Recipients Mekk, pitrou, steve.dower, vstinner, xcombelle
Date 2017-11-30.17:20:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512062405.79.0.213398074469.issue20891@psf.upfronthosting.co.za>
In-reply-to
Content
> Is this fix released? I can't find it in the changelog…

Oops, I lost track of this issue, but it wasn't fixed, no.

I just proposed my old fix as a pull requets: PR 4650.

> (I faced this bug on 3.5.2, released a couple of months after this bug was closed…)

The workaround is to call PyEval_InitThreads() before spawning your first non-Python thread.
https://docs.python.org/dev/c-api/init.html#c.PyEval_InitThreads
History
Date User Action Args
2017-11-30 17:20:05vstinnersetrecipients: + vstinner, pitrou, Mekk, steve.dower, xcombelle
2017-11-30 17:20:05vstinnersetmessageid: <1512062405.79.0.213398074469.issue20891@psf.upfronthosting.co.za>
2017-11-30 17:20:05vstinnerlinkissue20891 messages
2017-11-30 17:20:05vstinnercreate