Instead of simply asserting that the error exit case and the success exit case...
Instead of simply asserting that the error exit case and the success exit case of a nogil function are aligned, make sure they are before joining them back together. This is necessary because the error code path is more likely to require the GIL for cleanup operations than the success path – which is a good thing, actually, so we try to streamline the success case at the expense of more work on the error path.
Showing
Please register or sign in to comment