summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/runscript.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Miss Islington (bot)2021-01-251-4/+4
| | | | | | | | 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-42508: Keep IDLE running on macOS (GH-23577) (#23670)Miss Islington (bot)2021-01-051-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. (cherry picked from commit 57e511361047895231f5ee7abfdfbbc60e11d2db) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939)Miss Skeleton (bot)2019-10-271-0/+7
| | | | | (cherry picked from commit e3f90b217a5152275b180b466bd503658a734462) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-13153: Use OS native encoding for converting between Python and Tcl. ↵Miss Islington (bot)2019-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). (cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-38077: IDLE no longer adds 'argv' to the user namespace (GH-15818)Miss Islington (bot)2019-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. (cherry picked from commit c59295a1ca304f37ca136dd7efca9e560db27d28) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37627: Initialize IDLE Custom Run dialog with previous entries (GH-14870)Miss Islington (bot)2019-07-211-4/+7
| | | | | | Repeat the command line arguments most recently entered before so the user can edit them. (cherry picked from commit 35b87e6001bd991f625abe305951c77ddeb9a9c5) Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com>
* bpo-5680: IDLE: Customize running a module (GH-13763)Miss Islington (bot)2019-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. (cherry picked from commit 201bc2d18b60adb05810d2a6ab396047bc527088) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* 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