gh-118727: Don't drop the GIL in drop_gil()
unless the current thread holds it
#112034
Loading
drop_gil()
unless the current thread holds it
#112034