Skip to content

[3.14] gh-141004: Improve make check-c-api-docs (GH-143564) - #143593

Merged
encukou merged 1 commit into
python:3.14from
encukou:backport-234a15d-3.14
Jan 12, 2026
Merged

encukou merged 1 commit into
python:3.14from
encukou:backport-234a15d-3.14

Conversation

@encukou

@encukou encukou commented Jan 9, 2026 •

Copy link
Copy Markdown
Member
  • Gather all documented names into a set in a single pass. This makes the check much faster.

  • Do not match substrings (e.g. documenting PyErr_WarnEx doesn't mean that PyErr_Warn is documented)

  • Consider PY-prefixed names (a lot of old macros use this)

(cherry picked from commit 234a15d)

)

- Gather all documented names into a set in a single pass.
  This makes the check much faster.

- Do not match substrings (e.g. documenting `PyErr_WarnEx`
  doesn't mean that `PyErr_Warn` is documented)

- Consider `PY`-prefixed names (a lot of old macros use this)

(cherry picked from commit 234a15d)
@encukou
encukou requested a review from ZeroIntensity as a code owner January 9, 2026 10:19
@encukou
encukou merged commit deb75a5 into python:3.14 Jan 12, 2026
@encukou
encukou deleted the backport-234a15d-3.14 branch January 12, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant