Uh oh!
There was an error while loading. Please reload this page.
bpo-39573: Add Py_IS_TYPE macro - #18488
Conversation
vstinner
left a comment
There was a problem hiding this comment.
I suggest to modify Argument Clinic in a separated PR, but use this PR to update PyXXX_CheckExact() macros. See: nascheme@c156300
You should credit Neil if you reuse his commit: add Author: Neil Schemenauer <nas-github@arctrix.com> at the end of your commit message.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #18488 +/- ##
===========================================
+ Coverage 82.11% 83.19% +1.08%
===========================================
Files 1956 1571 -385 Lines 589145 414668 -174477 Branches 44447 44450 +3 ===========================================
- Hits 483801 345002 -138799 + Misses 95697 60016 -35681 - Partials 9647 9650 +3
Continue to review full report at Codecov.
|
Co-Author: Neil Schemenauer <nas-github@arctrix.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
corona10
commented
Feb 13, 2020
@vstinner Updated! Thanks for the review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| Equivalent to: Py_TYPE(o) == type. | ||
| .. versionadded:: 3.9 | ||
There was a problem hiding this comment.
Ooops, I noticed a typo in one of my previous commit. Would you mind to take this PR as an opportunity to fix it?
https://docs.python.org/dev/c-api/structures.html#c.Py_SET_SIZE
"Set the object o size of size." => "Set ... to size."
There was a problem hiding this comment.
Wait, @brandtbucher wrote PR #18496. I will ask him to fix the typo there. You can ignore this special request ;-)
corona10
commented
Feb 13, 2020
@vstinner Updated :) |
vstinner
commented
Feb 13, 2020
Thanks, merged. You can now redo your Argument Clinic change on top of it. |


https://bugs.python.org/issue39573