[issue46836] [C API] Move PyFrameObject to the internal C API

Stefan Behnel report at bugs.python.org
Wed Feb 23 14:45:04 EST 2022


Stefan Behnel <stefan_ml at behnel.de> added the comment:

I haven't looked fully into this yet, but I *think* that Cython can get rid of most of the direct usages of PyFrameObject by switching to the new InterpreterFrame struct instead. It looks like the important fields have now been moved over to that.

That won't improve the situation regarding the usage of CPython internals, but it's probably worth keeping in mind before we start adding new API functions that work on frame objects.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46836>
_______________________________________


More information about the Python-bugs-list mailing list