Skip to content

Export some internal functions for the JIT (PEP-523)#148634

Draft
DinoV wants to merge 1 commit intopython:mainfrom
DinoV:export_functions
Draft

Export some internal functions for the JIT (PEP-523)#148634
DinoV wants to merge 1 commit intopython:mainfrom
DinoV:export_functions

Conversation

@DinoV
Copy link
Copy Markdown
Contributor

@DinoV DinoV commented Apr 16, 2026

These are various functions which are key for implementing a JIT built on PEP 523 built on top of the unstable API.

@DinoV DinoV requested a review from Yhg1s April 16, 2026 00:24
@picnixz picnixz changed the title Export functions Export some internal functions for the JIT (PEP-523) Apr 16, 2026

PyObject *_PyNumber_PowerNoMod(PyObject *lhs, PyObject *rhs);
PyObject *_PyNumber_InPlacePowerNoMod(PyObject *lhs, PyObject *rhs);
PyAPI_FUNC(PyObject *) _PyNumber_PowerNoMod(PyObject *lhs, PyObject *rhs);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention is to add a comment "export for blabla" so could you (1) create an issue that explains why those functions are necessary and (2) add the comment saying that it is exported for the JIT and add the GH ref? ("export for the JIT (gh-NNNN)") Thanks!

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.

2 participants