This involves moving the global "pending calls" state to PyInterpreterState. https://bugs.python.org/issue33608