Skip to content

Improve index for the C API #115172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
serhiy-storchaka opened this issue Feb 8, 2024 · 0 comments
Closed

Improve index for the C API #115172

serhiy-storchaka opened this issue Feb 8, 2024 · 0 comments
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Feb 8, 2024

Index entries are added either implicitly by directives like c:function or explicitly by the index directive. And some explicitly added index entries do not match implicitly added index entries. For example:

   single: PyList_GetItem()

creates index entry PyList_GetItem(), but the function declaration creates index entry PyList_GetItem (C function). In result, two entries are not merged.

The following PR makes explicit index entries look like automatically generated ones.

Linked PRs

@serhiy-storchaka serhiy-storchaka added docs Documentation in the Doc dir needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Feb 8, 2024
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Feb 8, 2024
@serhiy-storchaka serhiy-storchaka added 3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes and removed needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Feb 8, 2024
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Feb 11, 2024
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 only security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant