diff options
author | adphrost <104581013+adphrost@users.noreply.github.com> | 2022-09-15 15:42:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 15:42:37 (GMT) |
commit | a41ed975e863ae0ca435783596f14f8492d62f8d (patch) | |
tree | b87ceae5a7c55e1131a7cdf02b0cda2b6ca41eaf /Misc | |
parent | e37ac5fbb6de593521cf218aa05bc58a45c5a7c9 (diff) | |
download | cpython-a41ed975e863ae0ca435783596f14f8492d62f8d.zip cpython-a41ed975e863ae0ca435783596f14f8492d62f8d.tar.gz cpython-a41ed975e863ae0ca435783596f14f8492d62f8d.tar.bz2 |
GH-91049: Introduce set vectorcall field API for PyFunctionObject (GH-92257)
Co-authored-by: Andrew Frost <adfrost@fb.com>
Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2022-05-03-19-35-37.gh-issue-92193.61VoFL.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2022-05-03-19-35-37.gh-issue-92193.61VoFL.rst b/Misc/NEWS.d/next/C API/2022-05-03-19-35-37.gh-issue-92193.61VoFL.rst new file mode 100644 index 0000000..e0755bb --- /dev/null +++ b/Misc/NEWS.d/next/C API/2022-05-03-19-35-37.gh-issue-92193.61VoFL.rst @@ -0,0 +1,5 @@ +Add new function :c:func:`PyFunction_SetVectorcall` to the C API +which sets the vectorcall field of a given :c:type:`PyFunctionObject`. + +Warning: extensions using this API must preserve the behavior +of the unaltered function! |