Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39573: Clean up modules and headers to use Py_IS_TYPE #18521
Conversation
Please don't use git rebase, just add a commit, to ease review ;-) This PR is long to review. |
@@ -302,7 +302,7 @@ type_mro_modified(PyTypeObject *type, PyObject *bases) { | |||
each subclass when their mro is recursively updated. | |||
*/ | |||
Py_ssize_t i, n; | |||
int custom = (Py_TYPE(type) != &PyType_Type); | |||
int custom = Py_IS_TYPE(type, &PyType_Type); |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vstinner
Feb 17, 2020
Member
I know that you made this mistake on purpose. Just to check that I really review your PRs! :-)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Feb 17, 2020
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
LGTM. |
1b55b65
into
python:master
corona10 commentedFeb 16, 2020
•
edited by bedevere-bot
https://bugs.python.org/issue39573