Skip to content

bpo-39873: Cleanup _PyObject_CheckConsistency() #18807

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

Merged
merged 1 commit into from
Mar 6, 2020
Merged

bpo-39873: Cleanup _PyObject_CheckConsistency() #18807

merged 1 commit into from
Mar 6, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 6, 2020

Remove redundant check on Py_TYPE() value: it's already checked
inside _PyType_CheckConsistency().

https://bugs.python.org/issue39873

Remove redundant check on Py_TYPE() value: it's already checked
inside _PyType_CheckConsistency().
@vstinner vstinner merged commit 9a73705 into python:master Mar 6, 2020
@vstinner vstinner deleted the object_consistency branch March 6, 2020 17:57
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.

4 participants