summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/iomenu.py
Commit message (Collapse)AuthorAgeFilesLines
* IDLE: Tweak iomenu.IOBinding.maybesave (#112914)Terry Jan Reedy2023-12-101-10/+11
| | | | Add docstring, use f-string, simplify code.
* gh-66819: More IDLE htest updates(4) (#112686)Terry Jan Reedy2023-12-041-0/+2
| | | | Mostly double spacing before 'if __name__...'.
* gh-66819: More IDLE htest updates(2) (#112642)Terry Jan Reedy2023-12-031-4/+5
| | | | | Examine and update spec -- callable pairs. Revise run method.
* gh-95191: IDLE: Include prompts when saving Shell #95554Terry Jan Reedy2022-08-021-5/+11
|
* IDLE: replace if statement with expression (#94228)Terry Jan Reedy2022-06-241-6/+2
|
* gh-84623: Remove unused imports in idlelib (#94143)Victor Stinner2022-06-221-3/+1
| | | | | Remove commented code in test_debugger_r.py. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)Alex Waygood2022-02-131-1/+4
| | | | | | | | Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues. Add util.py to contain objects that are used in multiple idlelib modules and have no dependencies on any of them. Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Terry Jan Reedy2021-01-251-15/+15
| | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import.
* bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines ↵Serhiy Storchaka2020-07-251-0/+11
| | | | | | | (GH-21597) Fixes regression in 3.8.4 and 3.9.0b4. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41300: IDLE - save files with non-ascii chars (GH-21512)Terry Jan Reedy2020-07-161-0/+1
| | | | Fix regression released in 3.9.0b4 and 3.8.4.
* bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215)Serhiy Storchaka2020-06-301-152/+41
|
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Serhiy Storchaka2020-06-301-44/+4
|
* bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103)Zackery Spytz2019-11-121-9/+11
|
* bpo-36698: IDLE no longer fails when write non-encodable characters to ↵Serhiy Storchaka2019-10-081-23/+18
| | | | | | | stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams.
* bpo-36807: When saving a file in IDLE, call flush and fsync (#13102)Guido van Rossum2019-05-131-0/+2
|
* bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)Terry Jan Reedy2018-11-151-2/+2
|
* bpo-34850: Replace is with == in idlelib.iomenu (GH-9649)Terry Jan Reedy2018-09-301-2/+2
| | | Patch by Serhiy Storchaka (in PR #9642).
* bpo-33855: More edits and new minimal tests for IDLE (GH-7761)Terry Jan Reedy2018-06-181-2/+2
| | | | Part 2 of 3. Continues PR #7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run.
* IDLE: make filetypes a tuple constant. (#3847)Terry Jan Reedy2017-10-011-2/+2
| | | Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
* Refine geometry of idlelib htests (and a few other fix-ups).Terry Jan Reedy2016-07-101-2/+2
|
* Issue 27372: Stop test_idle from changing locale, so test passes.Terry Jan Reedy2016-06-261-40/+46
| | | | In 3.6, the warning is now called an error, making it harder to ignore.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-1/+4
| | | | | | | | | | | | | | | | 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/+565