[3.13] gh-118727: Don't drop the GIL in drop_gil()
unless the current thread holds it (GH-118745)#119474
Merged
colesbury merged 1 commit intopython:3.13from May 23, 2024
drop_gil()
unless the current thread holds it (GH-118745)#119474