This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2020-04-28.13:17:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588079870.34.0.984904607646.issue40421@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-28 13:17:50vstinnersetrecipients: + vstinner
2020-04-28 13:17:50vstinnersetmessageid: <1588079870.34.0.984904607646.issue40421@roundup.psfhosted.org>
2020-04-28 13:17:50vstinnerlinkissue40421 messages
2020-04-28 13:17:50vstinnercreate