Sitelet https://web.archive.org/web/20250831233444/https://github.com/python/cpython/pull/20788
Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 10, 2020 •

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.
@vstinner vstinner merged commit 1bcc32f into python:master Jun 10, 2020
@vstinner vstinner deleted the interp_get branch June 10, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants