
On Mon, Mar 28, 2022 at 1:44 PM Petr Viktorin <encukou@gmail.com> wrote:
Perhaps we need a new "tier" of C API for debuggers -- API that's guaranteed stable for a major release, and if it's changed it should always break with compile errors (e.g. the function gets a new argument), rather than silently change semantics. The internal API Cython & greenlet need might go it this category too.
We should provide public C API functions for Cython and greenlet needs: well tested and documented functions. There is an on-going work in Python 3.11: * https://docs.python.org/dev/c-api/frame.html * https://github.com/faster-cpython/ideas/issues/309 * https://bugs.python.org/issue40421 Victor -- Night gathers, and now my watch begins. It shall not end until my death.