bpo-40170: Remove PyIndex_Check() macro by vstinner · Pull Request #19428 · python/cpython · GitHub
Skip to content

bpo-40170: Remove PyIndex_Check() macro - #19428

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:remove_index_check_macro
Apr 8, 2020
Merged

vstinner merged 1 commit into
python:masterfrom
vstinner:remove_index_check_macro

Conversation

@vstinner

@vstinner vstinner commented Apr 8, 2020

Copy link
Copy Markdown
Member

Always declare PyIndex_Check() as an opaque function to hide
implementation details: remove PyIndex_Check() macro. The macro
accessed directly the PyTypeObject.tp_as_number member.

https://bugs.python.org/issue40170

Always declare PyIndex_Check() as an opaque function to hide
implementation details: remove PyIndex_Check() macro. The macro
accessed directly the PyTypeObject.tp_as_number member.
@vstinner

vstinner commented Apr 8, 2020

Copy link
Copy Markdown
Member Author

@vstinner
vstinner merged commit 307b9d0 into python:master Apr 8, 2020
@vstinner
vstinner deleted the remove_index_check_macro branch April 8, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants