[issue10537] OS X IDLE 2.7 from 64-bit installer hangs when you paste something.
report at bugs.python.org
Wed Mar 9 06:02:59 CET 2011
Ned Deily <nad at acm.org> added the comment:
Now that ActiveState has released a version of Tcl/Tk 8.5 (22.214.171.124) for Mac OS X that is also an Aqua Cocoa Tk (like the Apple-supplied Tk 8.5.7 in 10.6) and supports 64-bit, versions of Python linked with the new ActiveTcl 8.5.9 do not display the problem reported here as well as a number of other problems reported elsewhere. Unfortunately, as released, the 64-bit/32-bit python.org Python 2.7.1 for 10.6 links only to the Apple-supplied Tcl/Tk 8.5. Until the next release of Python 2.7 (2.7.2), the best workaround without rebuilding remains to use the 32-bit-only installer for 2.7.1.
Instead of rebuilding, it *is* possible to modify the library paths in the _tkinter extension module using the OS X install_name_tool so that the released 2.7.1 Tkinter will link with an ActiveTcl 8.5.9:
$ cd /Library/Frameworks/Python.framework/Versions/2.7/
$ cd ./lib/python2.7/lib-dynload
$ sudo cp -pE _tkinter.so _tkinter.so.BACKUP # just in case
$ sudo install_name_tool \
-change /System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl \
-change /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk \
But this is definitely not recommended as you will likely run into other issues that have been fixed since the 2.7.1 release.
There is now a webpage that summarizes the somewhat confusing state of affairs with regard to Tcl/Tk support with Python on Mac OS X:
resolution: -> invalid
stage: needs patch -> committed/rejected
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list