summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pyshell.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-08 18:37:05 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-08 18:37:05 (GMT)
commit24f3a1829fe007915a93e9515cd28470dd8a00d9 (patch)
tree2f131c566cb439e5ba8f876c514b6335bedc9bc6 /Lib/idlelib/pyshell.py
parentd03ed8a4d0fc6d736d91c9ee67e0a040245d78ca (diff)
downloadcpython-24f3a1829fe007915a93e9515cd28470dd8a00d9.zip
cpython-24f3a1829fe007915a93e9515cd28470dd8a00d9.tar.gz
cpython-24f3a1829fe007915a93e9515cd28470dd8a00d9.tar.bz2
Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx.
Diffstat (limited to 'Lib/idlelib/pyshell.py')
-rwxr-xr-xLib/idlelib/pyshell.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/idlelib/pyshell.py b/Lib/idlelib/pyshell.py
index 8341cd9..9fc46ca 100755
--- a/Lib/idlelib/pyshell.py
+++ b/Lib/idlelib/pyshell.py
@@ -1548,14 +1548,6 @@ def main():
flist = PyShellFileList(root)
macosx.setupApp(root, flist)
- if macosx.isAquaTk():
- # There are some screwed up <2> class bindings for text
- # widgets defined in Tk which we need to do away with.
- # See issue #24801.
- root.unbind_class('Text', '<B2>')
- root.unbind_class('Text', '<B2-Motion>')
- root.unbind_class('Text', '<<PasteSelection>>')
-
if enable_edit:
if not (cmd or script):
for filename in args[:]: