Skip to content

bpo-40170: Remove PyIndex_Check() macro#19428

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

bpo-40170: Remove PyIndex_Check() macro#19428
vstinner merged 1 commit intopython:masterfrom
vstinner:remove_index_check_macro

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 8, 2020

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

Loading
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