Skip to content

gh-103323: Remove PyRuntimeState_GetThreadState() - #104171

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_rt_get_tstate
May 4, 2023
Merged

gh-103323: Remove PyRuntimeState_GetThreadState()#104171
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_rt_get_tstate

Conversation

@vstinner

@vstinnervstinner commented May 4, 2023

Copy link
Copy Markdown
Member

This function no longer makes sense, since its runtime parameter is no longer used. Use directly _PyThreadState_GET() and _PyInterpreterState_GET() instead.

This function no longer makes sense, since its runtime parameter is
no longer used. Use directly _PyThreadState_GET() and
_PyInterpreterState_GET() instead.
@vstinner

Copy link
Copy Markdown
MemberAuthor

cc @ericsnowcurrently

@ericsnowcurrentlyericsnowcurrently left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner
vstinner merged commit 45398ad into python:mainMay 4, 2023
@vstinner
vstinner deleted the remove_rt_get_tstate branch May 4, 2023 14:21
@vstinner

Copy link
Copy Markdown
MemberAuthor

Merged, thanks for the review.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@ericsnowcurrently@bedevere-bot