The InitializePythonRAII left the GIL locked for other threads when using Python >= 3.7.
P.S. I'd appreciate any help in making my comments more understandable and laconical.
Differential D58833
Fix embedded Python initialization according to changes in version 3.7 tatyana-krasnukha on Mar 1 2019, 10:16 AM. Authored by
Details
The InitializePythonRAII left the GIL locked for other threads when using Python >= 3.7. P.S. I'd appreciate any help in making my comments more understandable and laconical.
Diff Detail
Event TimelineComment Actions Davide ran into this issue recently and tried to fix it, so I'm adding him here as a reviewer. Also Stella is interested in Python 3 support as well, so adding her also. Comment Actions I spent several hours reading through this code and I do believe this patch (and your reasoning) is correct. |