◐ Shell
clean mode source ↗

bpo-39465: Use _PyInterpreterState_GET() by vstinner · Pull Request #20788 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

Jun 10, 2020

Conversation

@vstinner

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()

https://bugs.python.org/issue39465

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.

Labels