◐ Shell
clean mode source ↗

gh-141004: Improve `make check-c-api-docs` by encukou · Pull Request #143564 · python/cpython

added 2 commits

January 8, 2026 14:43
This makes the check much faster.
It also found 4 additional undocumented APIs, as it does not
match substrings (e.g. documenting `PyErr_WarnEx` doesn't
mean that `PyErr_Warn` is documented)

ZeroIntensity

ZeroIntensity

@encukou encukou deleted the doccheck-glob-findall branch

January 9, 2026 10:16

encukou added a commit to encukou/cpython that referenced this pull request

Jan 9, 2026
)

- 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 added a commit to encukou/cpython that referenced this pull request

Jan 9, 2026
- 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 added a commit that referenced this pull request

Jan 12, 2026
)

- 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 added a commit that referenced this pull request

Jan 12, 2026
)

- 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)

reidenong pushed a commit to reidenong/cpython that referenced this pull request

Jan 12, 2026
- 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)

thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request

Feb 15, 2026
- 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)