Remove redundant GIL acquisition during PyObject release#443
Remove redundant GIL acquisition during PyObject release#443atifaziz wants to merge 1 commit intotonybaloney:mainfrom
PyObject release#443Conversation
|
The GIL is required and I want to avoid a possible race condition from the check above. The scenario is a custom |
If it's this tricky, then I think we should add a comment, but I am still having a tough time seeing the race condition. The |
This PR removes a redundant GIL acquisition during the release of a
PyObject.