changeset: 103691:9148a2213631 branch: 2.7 parent: 103683:2b4bfef0d54a user: Terry Jan Reedy date: Mon Sep 12 01:49:55 2016 -0400 files: Doc/library/idle.rst Lib/idlelib/Bindings.py Lib/idlelib/README.txt Lib/idlelib/help.html description: Issue #15308: Add 'interrupt execution' (^C) to Shell menu. Patch by Roger Serwy, updated by Bayard Randel. diff -r 2b4bfef0d54a -r 9148a2213631 Doc/library/idle.rst --- a/Doc/library/idle.rst Sun Sep 11 20:38:27 2016 -0700 +++ b/Doc/library/idle.rst Mon Sep 12 01:49:55 2016 -0400 @@ -222,6 +222,9 @@ Restart Shell Restart the shell to clean the environment. +Interrupt Execution + Stop a running program. + Debug menu (Shell window only) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff -r 2b4bfef0d54a -r 9148a2213631 Lib/idlelib/Bindings.py --- a/Lib/idlelib/Bindings.py Sun Sep 11 20:38:27 2016 -0700 +++ b/Lib/idlelib/Bindings.py Mon Sep 12 01:49:55 2016 -0400 @@ -67,6 +67,8 @@ ('shell', [ ('_View Last Restart', '<>'), ('_Restart Shell', '<>'), + None, + ('_Interrupt Execution', '<>'), ]), ('debug', [ ('_Go to File/Line', '<>'), diff -r 2b4bfef0d54a -r 9148a2213631 Lib/idlelib/README.txt --- a/Lib/idlelib/README.txt Sun Sep 11 20:38:27 2016 -0700 +++ b/Lib/idlelib/README.txt Mon Sep 12 01:49:55 2016 -0400 @@ -161,14 +161,15 @@ Show surrounding parens # ParenMatch (& Hyperparser) Shell # PyShell - View Last Restart # PyShell.? - Restart Shell # PyShell.? + View Last Restart # PyShell.PyShell.view_restart_mark + Restart Shell # PyShell.PyShell.restart_shell + Interrupt Execution # pyshell.PyShell.cancel_callback Debug (Shell only) Go to File/Line - Debugger # Debugger, RemoteDebugger - Stack Viewer # StackViewer - Auto-open Stack Viewer # StackViewer + Debugger # Debugger, RemoteDebugger, PyShell.toggle_debuger + Stack Viewer # StackViewer, PyShell.open_stack_viewer + Auto-open Stack Viewer # StackViewer Format (Editor only) Indent Region diff -r 2b4bfef0d54a -r 9148a2213631 Lib/idlelib/help.html --- a/Lib/idlelib/help.html Sun Sep 11 20:38:27 2016 -0700 +++ b/Lib/idlelib/help.html Mon Sep 12 01:49:55 2016 -0400 @@ -238,6 +238,8 @@
Scroll the shell window to the last Shell restart.
Restart Shell
Restart the shell to clean the environment.
+
Interrupt Execution
+
Stop a running program.
@@ -703,7 +705,7 @@ The Python Software Foundation is a non-profit corporation. Please donate.
- Last updated on Aug 30, 2016. + Last updated on Sep 12, 2016. Found a bug?
Created using Sphinx 1.3.6.