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 ncoghlan
Recipients Mark.Shannon, ncoghlan, pablogsal
Date 2021-08-01.08:48:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627807715.72.0.318155852061.issue44800@roundup.psfhosted.org>
In-reply-to
Content
PR for this proposed refactoring is now up, with a review requested from Mark: https://github.com/python/cpython/pull/27525/

The PR mostly follows what I originally posted, except that I went with _Py_execution_frame and _PyExecFrame for the struct and typedef names, since these are present in a public header.

The outdated GDB hooks I found were in the gdbinit example file, rather than the actual libpython.py file that test_gdb covers. I suspect the gdbinit example will need further adjustments to actually work with Python 3.11, so rather than fully updating the implementation dependent pieces, I just added a comment suggesting it be checked after the interpreter optimisation development for 3.11 settles down.
History
Date User Action Args
2021-08-01 08:48:35ncoghlansetrecipients: + ncoghlan, Mark.Shannon, pablogsal
2021-08-01 08:48:35ncoghlansetmessageid: <1627807715.72.0.318155852061.issue44800@roundup.psfhosted.org>
2021-08-01 08:48:35ncoghlanlinkissue44800 messages
2021-08-01 08:48:35ncoghlancreate