-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
gh-135532: use defining_class for copying BLAKE-2 and SHA-3 objects
#135838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-135532: use defining_class for copying BLAKE-2 and SHA-3 objects
#135838
Conversation
defining_class for copying HACL*-based BLAKE-2 and SHA-3 objectsdefining_class for copying BLAKE-2 and SHA-3 objects
|
!buildbot FIPS only |
|
🤖 New build scheduled with the buildbot fleet by @picnixz for commit f631476 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135838%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
|
!buildbot FIPS only |
|
🤖 New build scheduled with the buildbot fleet by @picnixz for commit 26a029c 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135838%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
Performance are left untouched even if we're not using a
METH_NOARGS. I tried to remove thedefining_classin existing code but it didn't help. If we were to allow subclassing in the future, this saves some work as we would only need to touch constructors and not the methods themselves.