diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 01:10:49 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-23 01:10:49 (GMT) |
commit | 5e6201e8a9e08d11348ffca27d85d88d24d74f5d (patch) | |
tree | 53ec50b22ee8df72d23762ca560529cbb71ecca6 /Lib/idlelib/PyShell.py | |
parent | 5b1640cd2bcab78b3c14ac425b9d2c6d7926df17 (diff) | |
parent | 3c7eccd0a64e4a2c76a06c5cc2001e934bf4a86a (diff) | |
download | cpython-5e6201e8a9e08d11348ffca27d85d88d24d74f5d.zip cpython-5e6201e8a9e08d11348ffca27d85d88d24d74f5d.tar.gz cpython-5e6201e8a9e08d11348ffca27d85d88d24d74f5d.tar.bz2 |
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rwxr-xr-x | Lib/idlelib/PyShell.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 90fc689..4a68b19 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -1547,6 +1547,14 @@ def main(): root.withdraw() flist = PyShellFileList(root) macosxSupport.setupApp(root, flist) + + if macosxSupport.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): |