| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'.
Suffix 'object' with '_'.
|
|
|
| |
Revise spec-callable pairs from percolator to end.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Add comments where .keys() is needed.
Leave debugger usages along because situation is unclear as indicated in expanded comment.
Most testing is manual.
|
|
|
|
| |
(#103339)
|
| |
|
|
|
|
| |
sys.last_value,sys.last_traceback (#102779)
|
|
|
| |
Increases coverage by 44%.
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
This removes one problem inport and reduces len(sys.modules) by 37.
|
| |
|
|
|
|
|
| |
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|