Skip to content

Commit 4357b05

Browse files
Merge branch 'main' into codex/type-annotations-guidance
2 parents 8661ae8 + dabfefb commit 4357b05

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

‎development-tools/clinic/howto.rst‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,19 @@ Just name them ``__new__`` or ``__init__`` as appropriate. Notes:
875875
(If your function doesn't support keywords, the parsing function
876876
generated will throw an exception if it receives any.)
877877

878+
* :ref:`vectorcall protocol <python:vectorcall>` support can be added using the
879+
``@vectorcall`` directive. This will output an additional function that can be
880+
used in the :c:member:`~PyTypeObject.tp_vectorcall` slot.
881+
The generated function adds a fair amount of code, so benchmark first
882+
and only use it where it gives a significant speedup.
883+
884+
Current restrictions:
885+
886+
* Optional groups are not supported.
887+
* The type must be immutable (:c:macro:`Py_TPFLAGS_IMMUTABLETYPE`).
888+
889+
.. versionadded:: 3.16
890+
878891

879892
How to change and redirect Clinic's output
880893
------------------------------------------

‎triage/triage-team.rst‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ Use the AI policy labels for issues and PRs that don't follow the
6565
:ref:`guidelines for using AI tools <ai-tools>`. Don't apply them only because
6666
AI tools were used, or because the author disclosed using them.
6767

68-
Apply only one of these labels to an issue or PR. If you add one when the
69-
other is already there, remove the other label.
68+
Apply only one of these labels to an issue or PR. When you add
69+
:gh-label:`AI-guidelines-not-met`, the bot automatically removes
70+
:gh-label:`AI-needs-explanation`. If you add both labels,
71+
:gh-label:`AI-guidelines-not-met` wins.
7072

7173
* Start with :gh-label:`AI-needs-explanation`. The bot asks the author to
7274
explain the work in their own words and leaves the issue or PR open.
@@ -76,10 +78,9 @@ other is already there, remove the other label.
7678
use :gh-label:`AI-needs-explanation` instead, or consult a core developer.
7779
* If the author doesn't respond to :gh-label:`AI-needs-explanation`, or the
7880
response doesn't address the concern (for example, it is more generated
79-
text), remove :gh-label:`AI-needs-explanation` and add
80-
:gh-label:`AI-guidelines-not-met`. The bot posts the closing
81-
comment and closes the issue or PR. If you have any doubt, consult a core
82-
team member first.
81+
text), add :gh-label:`AI-guidelines-not-met`. The bot removes
82+
:gh-label:`AI-needs-explanation`, posts the closing comment and closes the
83+
issue or PR. If you have any doubt, consult a core team member first.
8384
* If the author responds and the concern is resolved, remove the label.
8485
For a closed issue or PR, reopen it as well.
8586

0 commit comments

Comments
 (0)