PEP 805: Safe Parallel Python

Ok, but that can already happen with the GIL, or did you make sure the GIL never gets released during urjson.dumps?

(it’s enough to call a destructor or some random pure Python code to release the GIL)

1 Like