Skip to content

bpo-40522: Replace PyThreadState_GET() with PyThreadState_Get() - #24575

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:use_tstate_func
Feb 19, 2021
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:use_tstate_func

Conversation

@vstinner

@vstinner vstinner commented Feb 19, 2021 •

Copy link
Copy Markdown
Member

Use directly the PyThreadState_Get() function in public header files,
since PyThreadState_GET() macro is just an alias to it in pratice in
these files.

https://bugs.python.org/issue40522

Use directly the PyThreadState_Get() function in public header files,
since PyThreadState_GET() macro is just an alias to it in pratice in
these files.
@vstinner
vstinner merged commit 6207810 into python:master Feb 19, 2021
@vstinner
vstinner deleted the use_tstate_func branch February 19, 2021 12:21
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…onGH-24575)

Use directly the PyThreadState_Get() function in public header files,
since PyThreadState_GET() macro is just an alias to it in pratice in
these files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants