Message367527
Similarly to bpo-39573 (make PyObject opaque) and bpo-39947 (make PyThreadState opaque), I propose to add getter functions to access PyFrameObject members without exposing the PyFrameObject structure in the C API.
The first step is to identify common usage of the PyFrameObject structure inside CPython code base to add getter functions, and maybe a few setter functions as well.
frameobject.h is not part of Python.h, but it's part of the public C API. The long term plan is to move PyFrameObject structure to the internal C API to hide implementation details from the public C API. |
|
| Date |
User |
Action |
Args |
| 2020-04-28 13:17:50 | vstinner | set | recipients:
+ vstinner |
| 2020-04-28 13:17:50 | vstinner | set | messageid: <[email protected]> |
| 2020-04-28 13:17:50 | vstinner | link | issue40421 messages |
| 2020-04-28 13:17:50 | vstinner | create | |
|