bpo-39573: Use Py_IS_TYPE to check for types by shihai1991 · Pull Request #19882 · python/cpython
rough idea: Can we create a review robot to remind committer use the common macros or inline functions?
corona10
changed the title
WIP: Use Py_IS_TYPE to check for types
bpo-39573: [WIP] Use Py_IS_TYPE to check for types
This PR can be part of bpo-39573 which actually introducing and applying Py_IS_TYPE for the first time.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR can be part of bpo-39573 which actually introducing and applying Py_IS_TYPE for the first time.
yeap. You are the author ;)
shihai1991
changed the title
bpo-39573: [WIP] Use Py_IS_TYPE to check for types
bpo-39573: Use Py_IS_TYPE to check for types
@shihai1991
But I approve the current change, so if the PR is updated for the more module.
Please request a review again.
@shihai1991
But I approve the current change, so if the PR is updated for the more module.
Please request a review again.
Thanks, I have checked all modules, there have no more should be ported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters