]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43916: Remove _disabled_new() function (GH-25745)
authorVictor Stinner <vstinner@python.org>
Fri, 30 Apr 2021 12:06:49 +0000 (14:06 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Apr 2021 12:06:49 +0000 (14:06 +0200)
commit0cad068ec174bbe33fb80460da56eb413f3b9359
tree530294e1078c5da834364b5d8f2637bbb4fc28f7
parent3bb09947ec4837de75532e21dd4bd25db0a1f1b7
bpo-43916: Remove _disabled_new() function (GH-25745)

posix and _hashlib use the new Py_TPFLAGS_DISALLOW_INSTANTIATION
flag on their heap types, rather than using a custom tp_new function
(_disabled_new).
Lib/test/test_hashlib.py
Lib/test/test_hmac.py
Modules/_hashopenssl.c
Modules/posixmodule.c