| Commit message (Collapse) | Author | Age |
|
|
|
| |
Replace widget.update() with widget.update_idletasks in two places.
|
| |
|
|
|
|
|
|
| |
The first followup will change shell indents to spaces.
More are expected.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
| |
Also replace if-then and and-or with conditional expressions.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
| |
This param was only used once and changed the return type.
|
|
|
|
| |
Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close(). In IDLE, both have always been None or False since 2007.
|
| |
|
| |
|
|
|
| |
https://bugs.python.org/issue34548
|
|
|
|
| |
Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
|
|
|
|
|
| |
Added to the eye-verified htest, not to the unittests.
Also remove some stray leftover comments.
|
|
|
| |
Followup to primary PR for the issue, GH-6344.
|
|
|
|
| |
A 'u' string prefix cannot be paired with either 'r' or 'f'. Consistently
color as much of the prefix, starting at the right, as is valid.
|
|
|
|
| |
Revised re by Serhiy Storchaka.
|
| |
|
| |
|
| |
|
|
|
|
| |
Delete now unneeded tk version tests and code for older versions.
|
|
|
|
| |
Factor out code for configuring text widget colors to a new function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|