summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/runscript.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Terry Jan Reedy2021-01-251-4/+4
| | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import.
* bpo-42508: Keep IDLE running on macOS (GH-23577)Terry Jan Reedy2020-12-071-19/+7
| | | | | Remove obsolete workaround that prevented running files with shortcuts when using new universal2 installers built on macOS 11. Ignore buggy 2nd run_module_event call.
* bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)Terry Jan Reedy2019-10-271-0/+7
|
* bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵Serhiy Storchaka2019-10-041-2/+1
| | | | | | | | | | | | | (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError).
* bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)Terry Jan Reedy2019-09-101-1/+1
| | | | This only happened when initializing the subprocess to run a module. This recent bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4.
* bpo-37627: Initialize IDLE Custom Run dialog with previous entries (#14870)Ngalim Siregar2019-07-211-4/+7
| | | Repeat the command line arguments most recently entered before so the user can edit them.
* bpo-5680: IDLE: Customize running a module (GH-13763)Cheryl Sabella2019-06-181-15/+31
| | | The initialize options are 1) add command line options, which are appended to sys.argv as if passed on a real command line, and 2) skip the shell restart. The customization dialog is accessed by a new entry on the Run menu.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-191-0/+5
| | | | | 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).
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-20/+7
| | | | | | | | | | | | | | | | | | | | | About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
* bpo-29910: IDLE no longer deletes a character after commenting out a region ↵Serhiy Storchaka2017-06-271-0/+1
| | | | | | | | | | | (#825) This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-1/+2
|
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-8/+8
| | | | | | | | | | | | | | | | 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/+206