-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Update python-gdb.py for fastcalls #72956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Python 3.6 has a new C calling convention: "fast calls". python-gdb.py was disabled when compact dict was merged, see issue bpo-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: |
New changeset 752863f96fb8 by Victor Stinner in branch 'default': |
I keep the issue open until the 3.6 branch is reopened for regular bug fixes, like this one. Then I will backport the fix to 3.6. |
3.6 branch is reopened |
New changeset f41d02d7da37 by Victor Stinner in branch '3.6': |
I fixed the issue in Python 3.6 (future 3.6.1). |
The change was cherry-picked in Python 3.6.0RC2. The issue is now fixed, so I close the issue. |
Please leave this open until the cherry picking is completed. |
New changeset b0efa88c4cf4 by Victor Stinner in branch '3.6': |
[cherrypicked for 3.6.0rc2] |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: