Author vstinner
Recipients vstinner
Date 2020-04-28.13:17:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:50vstinnersetrecipients: + vstinner
2020-04-28 13:17:50vstinnersetmessageid: <>
2020-04-28 13:17:50vstinnerlinkissue40421 messages
2020-04-28 13:17:50vstinnercreate