summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/iomenu.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)Miss Islington (bot)2022-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> (cherry picked from commit 50cf4991c49e19f917305dd7b9c71085c11edddb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 9fabcfbe68ff81ef5f17f86a93daf9cce9d83876) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Miss Islington (bot)2021-01-251-15/+15
| | | | | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import. (cherry picked from commit 879986d8a932c4524cb6ff822afc9537de16e28d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines ↵Miss Islington (bot)2020-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> (cherry picked from commit 0dd463c8a4269137ebed7cc29605c555030df94f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41300: IDLE - save files with non-ascii chars (GH-21512)Miss Islington (bot)2020-07-161-0/+1
| | | | | | Fix regression released in 3.9.0b4 and 3.8.4. (cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41158: IDLE: rewrite the code for handling file encoding (GH-21215)Miss Islington (bot)2020-07-011-152/+41
| | | | | (cherry picked from commit 694d31e714074176f0c324f95948b75dc768c091) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Miss Islington (bot)2020-06-301-44/+4
| | | | | (cherry picked from commit 2515a28230b1a011205f30263da6b01c6bd167a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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