Similar to #117721, `_thread.RLock.release` is not safe in free-threaded builds, it should be changed to use `_PyRecursiveMutex`. cc @colesbury <!-- gh-linked-prs --> ### Linked PRs * gh-125144 <!-- /gh-linked-prs -->