SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-40268: Rename _PyInterpreterState_GET_UNSAFE() (GH-19509)

Rename _PyInterpreterState_GET_UNSAFE() to _PyInterpreterState_GET()
for consistency with _PyThreadState_GET() and to have a shorter name
(help to fit into 80 columns).

Add also "assert(tstate != NULL);" to the function.
V
Victor Stinner committed
81a7be3fa22c983209cc0ffb3537b92b0370f83c
Parent: 4a3fe08
Committed by GitHub <noreply@github.com> on 4/14/2020, 1:14:01 PM