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

All API should be exposed from Python.h #34

Open
encukou opened this issue Oct 23, 2023 · 0 comments
Open

All API should be exposed from Python.h #34

encukou opened this issue Oct 23, 2023 · 0 comments
Labels
guideline To be included in guidelines PEP

Comments

@encukou
Copy link
Contributor

encukou commented Oct 23, 2023

We use the Py prefix for namespacing, and macros (defined by the user) for selecting subsets/variations of the API.

It should not be necessary for users to include any other headers CPython provides.

(And if this were a “revolution” issue: we should be free to move the headers around, to minimize chances of conflicting names when someone adds the directory with Python.h to the include path.)

@encukou encukou added the guideline To be included in guidelines PEP label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guideline To be included in guidelines PEP
Projects
None yet
Development

No branches or pull requests

1 participant