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 Mark.Shannon
Recipients Mark.Shannon, miss-islington, nedbat, petr.viktorin, scoder, vstinner
Date 2022-03-02.13:31:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646227876.06.0.140407373559.issue40421@roundup.psfhosted.org>
In-reply-to
Content
I've outlined the requirements for a frame stack API at https://github.com/faster-cpython/ideas/issues/309.

The problem with adding an API for PyFrameObject (beyond simple getters) is that it makes assumptions about the frame stack that aren't valid.

A stack of frames is not just a linked list of frames. It never was, and it certainly isn't now.
History
Date User Action Args
2022-03-02 13:31:16Mark.Shannonsetrecipients: + Mark.Shannon, scoder, vstinner, nedbat, petr.viktorin, miss-islington
2022-03-02 13:31:16Mark.Shannonsetmessageid: <1646227876.06.0.140407373559.issue40421@roundup.psfhosted.org>
2022-03-02 13:31:16Mark.Shannonlinkissue40421 messages
2022-03-02 13:31:15Mark.Shannoncreate