Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into doc_call
  • Loading branch information
encukou authored Oct 22, 2019
commit 8b6eec83f3dea75be91ae784f1425787671ea950
3 changes: 2 additions & 1 deletion Doc/c-api/type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ The following functions and structs are used to create
* :c:member:`~PyTypeObject.tp_cache`
* :c:member:`~PyTypeObject.tp_subclasses`
* :c:member:`~PyTypeObject.tp_weaklist`
* :c:member:`~PyTypeObject.tp_vectorcall`
* :c:member:`~PyTypeObject.tp_weaklistoffset`
(see :ref:`PyMemberDef <pymemberdef-offsets>`)
* :c:member:`~PyTypeObject.tp_dictoffset`
(see :ref:`PyMemberDef <pymemberdef-offsets>`)
* :c:member:`~PyTypeObject.tp_vectorcall_offset`
* :c:member:`~PyTypeObject.tp_vectorcall`
* :c:member:`~PyBufferProcs.bf_getbuffer`
* :c:member:`~PyBufferProcs.bf_releasebuffer`

Expand Down
9 changes: 1 addition & 8 deletions Doc/whatsnew/3.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1914,14 +1914,7 @@ Changes in the Python API
Changes in the C API
--------------------

* In order to support the :ref:`vectorcall protocol <vectorcall>`,
the type slot ``tp_print`` is replaced by
:c:member:`~PyTypeObject.tp_vectorcall_offset`
and a new slot :c:member:`~PyTypeObject.tp_vectorcall` is added.
Two new flags :const:`Py_TPFLAGS_METHOD_DESCRIPTOR`
and :const:`_Py_TPFLAGS_HAVE_VECTORCALL` are added.

* The :c:type:`PyCompilerFlags` structure gets a new *cf_feature_version*
* The :c:type:`PyCompilerFlags` structure got a new *cf_feature_version*
field. It should be initialized to ``PY_MINOR_VERSION``. The field is ignored
by default, and is used if and only if ``PyCF_ONLY_AST`` flag is set in
*cf_flags*.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.