Skip to content

Conversation

tiran
Copy link
Member

@tiran tiran commented Apr 29, 2021

vstinner and others added 3 commits April 29, 2021 17:36
Add a new Py_TPFLAGS_DISABLE_NEW type flag to disallow creating
instances of a type.
@vstinner
Copy link
Member

I merged my PR #25721 and the flag was renamed. Can you please rebase your PR?

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. If you rebase your PR and rename Py_TPFLAGS_DISABLE_NEW flag to Py_TPFLAGS_DISALLOW_INSTANTIATION.

I only reviewed Lib/test/test_hashlib.py and Modules/_hashopenssl.c changes.

@vstinner
Copy link
Member

I created PR #25745 which also updates the posix module.

@tiran
Copy link
Member Author

tiran commented Apr 30, 2021

Thanks Victor!

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