GH-139193: Fix dump_stack when PYTHON_LLTRACE=4#139384
GH-139193: Fix dump_stack when PYTHON_LLTRACE=4#139384markshannon merged 7 commits intopython:mainfrom
Conversation
|
PR ready to review, please take a look. |
|
@Fidget-Spinner Thanks for review! I tried to fix |
This reverts commit 58b4564.
|
I revert it because it was not right. |
|
|
|
Any suggestions for a better name are welcome, as it is obviously not clear. |
|
@markshannon What do you think about adding new function |
That sounds good. Leave |
|
@markshannon Please take a look. I have added |
|
Thanks for doing this |
|
Thanks everyone for reviews! |
|
There are two problems:
dump_stack/dump_itemshould ignore items that pushed on the stack withPyStackRef_WrapPyStackRef_IsErrorshould test onlyPy_TAG_BITSof.bitsnot whole.bitsvalueAlso, PyStackRef_IsValid should be fixed accordingly.
PYTHON_LLTRACE=4segfaults #139193