◐ Shell
reader mode source ↗
Skip to content

bpo-39573: Use Py_IS_TYPE for type checking#18789

Closed
petdance wants to merge 2 commits into
python:masterfrom
petdance:bpo-39573-B
Closed

bpo-39573: Use Py_IS_TYPE for type checking#18789
petdance wants to merge 2 commits into
python:masterfrom
petdance:bpo-39573-B

Conversation

@petdance

@petdance petdance commented Mar 5, 2020

Copy link
Copy Markdown
Contributor

This finishes up the conversions to using Py_IS_TYPE for checking object types.

It also updates Py_IS_TYPE(ob, type) to be able to take a const objects and a const type.

https://bugs.python.org/issue39573

@vstinner

vstinner commented Mar 6, 2020

Copy link
Copy Markdown
Member

I merged PR #18809.

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