Skip to content

Conversation

petdance
Copy link
Contributor

@petdance petdance commented Mar 6, 2020

As the final part of the Py_IS_TYPE conversion:

  • Make Py_IS_TYPE take const arguments
  • Make new macro _PyObject_CAST_CONST

https://bugs.python.org/issue39573

@petdance
Copy link
Contributor Author

petdance commented Mar 6, 2020

Attn: @vstinner

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I checked for compiler warnings on Windows, macOS and Linux (clang and GCC). I didn't notice any new warning.

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