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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to