Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Feb 15, 2021

The macro accessed the PyTypeObject.tp_descr_set member.
Reimplemented as a C function to hide implementation details.

https://bugs.python.org/issue40170

@erlend-aasland
Copy link
ContributorAuthor

@vstinner Would you mind reviewing this?

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

@erlend-aasland
Copy link
ContributorAuthor

Thanks, @vstinner!

@vstinnervstinner merged commit 871eb42 into python:masterFeb 16, 2021
@erlend-aaslanderlend-aasland deleted the bpo-40170/PyDescr_IsData branch February 16, 2021 08:32
erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request Feb 17, 2021
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Sign up for freeto 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.

5 participants

@erlend-aasland@vstinner@encukou@the-knights-who-say-ni@bedevere-bot