Message342792
Also it might be viable to add some assertion to verify the take_gil is not called with uninitialized interpreter.
I used the changes in the attachment (take_gil.assert.patch), but it produced errors during test_tracemalloc with f13c5c8b9401a9dc19e95d8b420ee100ac022208 . It happens because, during startup with invalid arguments, the interpreter is finalized with pymain_main->pymain_free->_PyRuntime_Finalize before the error is printed. However, the problem seems to be fixed for me in the last revisions of master branch, so I upload the diff against it. |
|
Date |
User |
Action |
Args |
2019-05-18 10:48:34 | shprotx | set | recipients:
+ shprotx, nascheme, db3l, ncoghlan, vstinner, pmpp, eric.snow, serhiy.storchaka, yselivanov, koobs, steve.dower, emilyemorehouse, Johan Dahlin |
2019-05-18 10:48:34 | shprotx | set | messageid: <1558176514.81.0.0503982949401.issue33608@roundup.psfhosted.org> |
2019-05-18 10:48:34 | shprotx | link | issue33608 messages |
2019-05-18 10:48:34 | shprotx | create | |
|