commit | 81a7be3fa22c983209cc0ffb3537b92b0370f83c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 14 15:14:01 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 14 15:14:01 2020 +0200 |
tree | c257d7143ecc60574353caa76fa2992a455ebb54 | |
parent | 4a3fe0835310643193ea45529ab0fb45c5f8f2fd [diff] |
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.