[issue28770] Update python-gdb.py for fastcalls
STINNER Victor
report at bugs.python.org
Tue Nov 22 06:42:55 EST 2016
New submission from STINNER Victor:
Python 3.6 has a new C calling convention: "fast calls".
python-gdb.py was disabled when compact dict was merged, see issue #27350.
Sadly, I missed that fast calls also broke python-gdb.py.
Attached patch fixes python-gdb.py, but I failed to fix test_gdb.py. With fast calls and patched python-gdb.py, python-gdb.py is now able to detect the Python frame of the call to the builtin id() function. It's a new feature compared to Python 3.5, but test_gdb.py should be updated to handle that.
I will try to fix that later, but in the meanwhile I was interrupted because the fix for compact dict in python-gdb.py failed on buildbots, see:
http://bugs.python.org/issue28023#msg281464
----------
files: gdb_fastcall.patch
keywords: patch
messages: 281465
nosy: haypo
priority: normal
severity: normal
status: open
title: Update python-gdb.py for fastcalls
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45598/gdb_fastcall.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28770>
_______________________________________
More information about the Python-bugs-list
mailing list