Mailman 3 [Python-Dev] Re: C API: Move PEP 523 "Adding a frame evaluation API to CPython" private C API to the internal C API - Python-Dev (original) (raw)
On Thu, 7 Apr 2022, 8:02 pm Petr Viktorin, encukou@gmail.com wrote:
This applies to:
- Functions added in PEP 523 - PyCode_New, PyCode_NewWithPosOnlyArgs - Ideally anything documented as subject to change between minor releases. (To be kind to users, if something is added later we should again have one release of compiler warnings before requiring the opt-in. Unless that API just changed and users would get errors anyway.)
* C APIs that provide access to compiled code whether in AST or opcode
Other candidate items for this tier: * non-opaque access to frame structs and any other key APIs needed to implement alternate eval loops with comparable performance to the default eval loop (unless & until we can figure out stable public APIs that can deliver equivalent performance) form (the API itself may be stable, but the compiled code isn't, so this is kinda covered by your last point) Cheers, Nick.