[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)
This commit is contained in:
terryjreedy 2017-06-27 01:53:40 -04:00 committed by GitHub
parent 2d348f7a72
commit 8bdc3bd3d6
11 changed files with 48 additions and 16 deletions

View file

@ -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