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-83754: Use the Py_TYPE() macro #120599

Merged
merged 1 commit into from
Jun 17, 2024
Merged

gh-83754: Use the Py_TYPE() macro #120599

merged 1 commit into from
Jun 17, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 16, 2024

Don't access directly PyObject.ob_type, but use the Py_TYPE() macro
instead.
@vstinner vstinner merged commit c2d5df5 into python:main Jun 17, 2024
38 checks passed
@vstinner vstinner deleted the py_type branch June 17, 2024 08:34
@vstinner
Copy link
Member Author

Merged, thanks for the review @methane.

mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
Don't access directly PyObject.ob_type, but use the Py_TYPE() macro
instead.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
Don't access directly PyObject.ob_type, but use the Py_TYPE() macro
instead.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Don't access directly PyObject.ob_type, but use the Py_TYPE() macro
instead.
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.

2 participants