SIGN IN SIGN UP

bpo-39465: Use _PyInterpreterState_GET() (GH-20788)

Replace _PyThreadState_GET() with _PyInterpreterState_GET() in:

* get_small_int()
* gcmodule.c: add also get_gc_state() function
* _PyTrash_deposit_object()
* _PyTrash_destroy_chain()
* warnings_get_state()
* Py_GetRecursionLimit()

Cleanup listnode.c: add 'parser' variable.
V
Victor Stinner committed
1bcc32f0620d2e99649a6d423284d9496b7b3548
Parent: 9c24e2e
Committed by GitHub <noreply@github.com> on 6/10/2020, 6:08:26 PM