From 8bdc3bd3d66fefdc07d32bd19c41c6f902f16111 Mon Sep 17 00:00:00 2001 From: terryjreedy Date: Tue, 27 Jun 2017 01:53:40 -0400 Subject: [3.6] bpo-29910: IDLE no longer deletes a character after commenting out a region (GH-825) (#2429) 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 (cherry picked from commit 213ce12) --- Lib/idlelib/runscript.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/idlelib/runscript.py') diff --git a/Lib/idlelib/runscript.py b/Lib/idlelib/runscript.py index 79d86adabc..3355f17d90 100644 --- a/Lib/idlelib/runscript.py +++ b/Lib/idlelib/runscript.py @@ -63,6 +63,7 @@ class ScriptBinding: return 'break' if not self.tabnanny(filename): return 'break' + return "break" def tabnanny(self, filename): # XXX: tabnanny should work on binary files as well -- cgit v1.2.1