Add Python 3.7 support by checking for  `_PyRuntime.gilstate.autoInterpreterState` before falling back on the global  `autoInterpreterState`.
Add Python 3.7 support by checking for  `_PyRuntime.gilstate.autoInterpreterState` before falling back on the global  `autoInterpreterState`.

SeanCline/PyExt,SeanCline/PyExt,SeanCline/PyExt