summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/stackviewer.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] gh-96905: In IDLE code, stop redefining built-ins 'dict' and 'object' ↵Miss Islington (bot)2024-01-181-2/+2
| | | | | | | | | (GH-114227) (#114229) Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'. Suffix 'object' with '_'. (cherry picked from commit 6f4b242a03e521a55f0b9e440703b424ed18ce2f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-66819: More IDLE htest updates(3) (GH-112683) (#112685)Miss Islington (bot)2023-12-041-2/+2
| | | | | | Revise spec-callable pairs from percolator to end. (cherry picked from commit 5a1b5316af648ae79bb91f28253b6272bbbd2886) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-79871: IDLE - Fix and test debugger module (GH-11451) (#112257)Miss Islington (bot)2023-11-191-0/+2
| | | | | | | | | | | 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%. --------- (cherry picked from commit adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-103737: IDLE - Remove unneeded .keys() for dict iteration ↵Miss Islington (bot)2023-10-181-1/+1
| | | | | | | | | | | | (GH-110960) (#111027) gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960) Add comments where .keys() is needed. Leave debugger usages along because situation is unclear as indicated in expanded comment. Most testing is manual. (cherry picked from commit baefbb21d91db2d950706737a6ebee9b2eff5c2d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-102832: IDLE - remove use of deprecated sys.last_xyzs for ↵Miss Islington (bot)2023-06-081-32/+9
| | | | | | | | stackviewer (GH-103339) (#105527) gh-102832: IDLE - remove use of deprecated sys.last_xyzs for stackviewer (GH-103339) (cherry picked from commit 3ee921d84f06da9dfa8aa29e0d33778b9dbf8f23) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)Terry Jan Reedy2018-06-221-2/+2
| | | Increases coverage by 44%.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-191-0/+3
| | | | | Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately).
* Remove unused imports.Serhiy Storchaka2016-12-161-1/+0
|
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-3/+8
|
* Issue #25507: Move 4 objects from pyshell to run and switch inports.Terry Jan Reedy2016-07-151-1/+1
| | | | This removes one problem inport and reduces len(sys.modules) by 37.
* Refine geometry of idlelib htests (and a few other fix-ups).Terry Jan Reedy2016-07-101-3/+3
|
* Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.Terry Jan Reedy2016-06-211-5/+5
| | | | | Fix code and tests that fail with this restriction. Fix htests to not create a second and redundant root and mainloop.
* Issue #27156: Remove more unused idlelib code.Terry Jan Reedy2016-06-061-3/+0
|
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-3/+3
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.Terry Jan Reedy2016-05-221-0/+151