From 213ce12adfc9281c6f381bb45d132e9de8ffd450 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 27 Jun 2017 07:02:32 +0300 Subject: bpo-29910: IDLE no longer deletes a character after commenting out a region (#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 --- 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