]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43908: Immutable types inherit vectorcall (GH-27001)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Thu, 8 Jul 2021 10:48:01 +0000 (12:48 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Jul 2021 10:48:01 +0000 (12:48 +0200)
commita3739b207adb5d17e3b53347df05b54b1a8b87f0
tree682f352648cabd6de5440fafa8fd4e9f6246f76b
parent15f0fc571c1fbc84b6b74dfeb373ca3d35e4c5d7
bpo-43908: Immutable types inherit vectorcall (GH-27001)

Heap types with the Py_TPFLAGS_IMMUTABLETYPE flag can now inherit the
PEP 590 vectorcall protocol.  Previously, this was only possible for static types.

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/c-api/typeobj.rst
Doc/whatsnew/3.11.rst
Lib/test/test_call.py
Misc/NEWS.d/next/Core and Builtins/2021-07-03-00-20-39.bpo-43908.YHuV_s.rst [new file with mode: 0644]
Objects/typeobject.c