diff options
author | Jeroen Demeyer <jeroen.k.demeyer@gmail.com> | 2019-11-12 13:08:00 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-11-12 13:08:00 (GMT) |
commit | 9a13a388f202268dd7b771638adbec132449b98b (patch) | |
tree | 71496af5abeb5a5737a5f490d8b53dbb91e6ed02 /Doc/whatsnew | |
parent | a12255d8def0c82560545e66c1be981a447751c3 (diff) | |
download | cpython-9a13a388f202268dd7b771638adbec132449b98b.zip cpython-9a13a388f202268dd7b771638adbec132449b98b.tar.gz cpython-9a13a388f202268dd7b771638adbec132449b98b.tar.bz2 |
bpo-36974: expand call protocol documentation (GH-13844)
CC @encukou
I'm also adding Petr Viktorin as contributor for vectorcall in the "what's new" section.
https://bugs.python.org/issue36974
Automerge-Triggered-By: @encukou
Automerge-Triggered-By: @encukou
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 8338cb6..0890955 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -347,20 +347,20 @@ See :pep:`587` for a full description. (Contributed by Victor Stinner in :issue:`36763`.) -Vectorcall: a fast calling protocol for CPython ------------------------------------------------ +PEP 590: Vectorcall: a fast calling protocol for CPython +-------------------------------------------------------- -The "vectorcall" protocol is added to the Python/C API. +:ref:`vectorcall` is added to the Python/C API. It is meant to formalize existing optimizations which were already done for various classes. -Any extension type implementing a callable can use this protocol. +Any static type implementing a callable can use this protocol. This is currently provisional. The aim is to make it fully public in Python 3.9. See :pep:`590` for a full description. -(Contributed by Jeroen Demeyer and Mark Shannon in :issue:`36974`.) +(Contributed by Jeroen Demeyer, Mark Shannon and Petr Viktorin in :issue:`36974`.) Pickle protocol 5 with out-of-band data buffers |