diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-19 12:47:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-19 12:47:10 (GMT) |
commit | d974393419eb55ad7f483ff3c56f746446778172 (patch) | |
tree | b9b30f46130ef790563fac7da4e169860b442b01 /Misc | |
parent | 6db4944cc57804391b554d96f3400944779617f0 (diff) | |
parent | d208416a4033c1d8e10ee70e1aa74e6d3108c7d6 (diff) | |
download | cpython-d974393419eb55ad7f483ff3c56f746446778172.zip cpython-d974393419eb55ad7f483ff3c56f746446778172.tar.gz cpython-d974393419eb55ad7f483ff3c56f746446778172.tar.bz2 |
(Merge 3.2) Issue #13628: python-gdb.py is now able to retrieve more frames in
the Python traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -423,7 +423,7 @@ Library choose the cipher based on their own preferences, rather than on the client's. -- Issue #11813: Fix inspect.getattr_static for modules. Patch by Andreas +- Issue #11813: Fix inspect.getattr_static for modules. Patch by Andreas Stührk. - Issue #7502: Fix equality comparison for DocTestCase instances. Patch by @@ -1692,6 +1692,9 @@ IDLE Tools/Demos ----------- +- Issue #13628: python-gdb.py is now able to retrieve more frames in the Python + traceback if Python is optimized. + - Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add a smarter "py-bt" command printing a classic Python traceback. |