Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented Apr 30, 2021

Use the new Py_TPFLAGS_DISALLOW_INSTANTIATION flag on posix and
_hashlib types.

https://bugs.python.org/issue43916

Use the new Py_TPFLAGS_DISALLOW_INSTANTIATION flag on posix and _hashlib types.
@vstinner
Copy link
MemberAuthor

cc @tiran@erlend-aasland

Copy link
Contributor

@erlend-aaslanderlend-aasland left a comment

Choose a reason for hiding this comment

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

You need to update Lib/test/test_hmac.py too

@vstinner
Copy link
MemberAuthor

You need to update Lib/test/test_hmac.py too

Oops, I missed that part in @tiran's PR #25722.

@vstinner
Copy link
MemberAuthor

  • Windows x86: test_asyncio failed (unrelated).
  • Tests / Ubuntu SSL tests with OpenSSL 1.1.1k: test_asyncio failed (unrelated).
  • Tests / Ubuntu SSL tests with OpenSSL 3.0.0-alpha15: test_asyncio failed (unrelated).

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

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