[Python-ideas] Meta-PEP about built-in functions
Jeroen Demeyer
J.Demeyer at UGent.be
Tue May 22 17:28:02 EDT 2018
Hello,
Both PEP 573 and PEP 575 deal with built-in functions. Additionally,
some people (Stefan Behnel, Robert Bradshaw, Jim Pivarski and me) are
currently brainstorming about a yet-to-be-written PEP to allow calling
the underlying C function of a built-in function using native types (for
example, a C long instead of a Python int). Think of it as analogous to
the buffer protocol: the buffer protocol exposes C *data* while this
would expose C *callables*.
Since all these PEPs would overlap somewhat, I'm starting to wonder
about the best way to organize this. Ideally, I would like some kind of
"meta-PEP" where we discuss the future of built-in functions in general
terms without too much details. This would be followed by several PEPs
each going in detail about one specific aspect.
Is there a precedent for this? What do the seasoned Python developers think?
Jeroen.
More information about the Python-ideas
mailing list