The first instruction of tracemalloc_add_trace() is traceback_new() which already checks the GIL.
Attach a file by drag & drop or click to upload