Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-103323: Remove PyRuntimeState_GetThreadState() #104171

Merged
merged 1 commit into from
May 4, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 4, 2023

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
Member Author

vstinner commented May 4, 2023

cc @ericsnowcurrently

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

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:main May 4, 2023
@vstinner vstinner deleted the remove_rt_get_tstate branch May 4, 2023 14:21
@vstinner
Copy link
Member Author

vstinner commented May 4, 2023

Merged, thanks for the review.

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