Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
encukou merged 1 commit into
python:3.13python/cpython:3.13from
encukou:backport-234a15d-3.13encukou/cpython:backport-234a15d-3.13Copy head branch name to clipboard
Jan 12, 2026
Merged

[3.13] gh-141004: Improve make check-c-api-docs (GH-143564)#143594
encukou merged 1 commit into
python:3.13python/cpython:3.13from
encukou:backport-234a15d-3.13encukou/cpython:backport-234a15d-3.13Copy head branch name to clipboard

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:21
@encukou encukou merged commit b06ef5b into python:3.13 Jan 12, 2026
50 checks passed
@encukou encukou deleted the backport-234a15d-3.13 branch January 12, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.