Skip to content
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

Add PyCapsule_CheckExact to the stable ABI? #47

Open
pitrou opened this issue Jun 4, 2024 · 2 comments
Open

Add PyCapsule_CheckExact to the stable ABI? #47

pitrou opened this issue Jun 4, 2024 · 2 comments

Comments

@pitrou
Copy link

pitrou commented Jun 4, 2024

This is a bit of a drive-by suggestion, but I've just noticed that PyCapsule_CheckExact is the only capsule-related API function that is not part of the stable ABI. Is it an oversight?

@encukou
Copy link
Contributor

encukou commented Jun 4, 2024

Depends what you mean by oversight.

It's only documented as a function. In reality it's a macro, so it's not part of any ABI. Exporting it would need a code change.

Ideally we should probably add it but it doesn't look like a priority.

@pitrou
Copy link
Author

pitrou commented Jun 4, 2024

I see, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants