summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/stackviewer.py
diff options
context:
space:
mode:
authorAnthony Shaw <anthony.p.shaw@gmail.com>2023-11-19 04:20:38 (GMT)
committerGitHub <noreply@github.com>2023-11-19 04:20:38 (GMT)
commitadedcfa06b553242d8033f6d9bebbcb3bc0dbb4d (patch)
tree323d5c4a3d354d949826d2f46e0287248bd8ab18 /Lib/idlelib/stackviewer.py
parent18c692946953e586db432fd06c856531a2b05127 (diff)
downloadcpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.zip
cpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.tar.gz
cpython-adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d.tar.bz2
gh-79871: IDLE - Fix and test debugger module (#11451)
Add docstrings to the debugger module. Fix two bugs: initialize Idb.botframe (should be in Bdb); In Idb.in_rpc_code, check whether prev_frame is None before trying to use it. Make other code changes. Expand test_debugger coverage from 19% to 66%. --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/stackviewer.py')
-rw-r--r--Lib/idlelib/stackviewer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/stackviewer.py b/Lib/idlelib/stackviewer.py
index 4858cc6..f8e60fd 100644
--- a/Lib/idlelib/stackviewer.py
+++ b/Lib/idlelib/stackviewer.py
@@ -1,3 +1,5 @@
+# Rename to stackbrowser or possibly consolidate with browser.
+
import linecache
import os