Message415780
Currently, Tools/gdb/libpython.py uses PyFramePtr.iter_locals() which iterates on PyFrameObject.f_frame.localsplus. There is a PyFramePtr.get_var_by_name() function which only checks for frame variables in PyFrameObject.f_frame.localsplus, or look up in globals and builtins. So it only supports some kinds of variables. | |
| Date | User | Action | Args | | 2022-03-22 14:53:26 | vstinner | set | recipients: + vstinner, ncoghlan, Mark.Shannon | | 2022-03-22 14:53:26 | vstinner | set | messageid: <1647960806.12.0.860299554046.issue47092@roundup.psfhosted.org> | | 2022-03-22 14:53:26 | vstinner | link | issue47092 messages | | 2022-03-22 14:53:26 | vstinner | create | | |