Skip to content

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

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

gh-148659: 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!

@DinoV DinoV force-pushed the export_functions branch from 286d38e to ea4356d Compare April 16, 2026 16:58
@DinoV DinoV force-pushed the export_functions branch from ea4356d to c1b9dfc Compare April 16, 2026 18:02
@DinoV DinoV changed the title Export some internal functions for the JIT (PEP-523) gh-148659: Export some internal functions for the JIT (PEP-523) Apr 16, 2026
@DinoV DinoV marked this pull request as ready for review April 16, 2026 18:04
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