SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72150 0 54 Python

bpo-39947: Use _PyInterpreterState_GET_UNSAFE() (GH-18978)

Replace _PyInterpreterState_Get() function call with
_PyInterpreterState_GET_UNSAFE() macro which is more efficient but
don't check if tstate or interp is NULL.

_Py_GetConfigsAsDict() now uses _PyThreadState_GET().
V
Victor Stinner committed
ff4584caca04cb3da0dbd5b1e9bf67e40adf5312
Parent: 6d674a1
Committed by GitHub <noreply@github.com> on 3/13/2020, 5:03:56 PM