[issue10537] OS X IDLE 2.7rc1 from 64-bit installer hangs when you paste something.

Ned Deily report at bugs.python.org
Tue Nov 30 12:07:01 CET 2010

Ned Deily <nad at acm.org> added the comment:

More data points: using the 2.7.1 release source tarball, the problem is reproducible on 10.6 when dynamically linked to the Apple Tcl/Tk 8.5 and executing in either 64-bit or 32-bit mode.  It is not reproducible when using ActiveState Tcl/Tk 8.5.9, AS Tcl/Tk 8.4.19, or Apple Tcl/Tk 8.4 (none of which, of course, is available in 64-bit mode).

Unfortunately, the obvious workaround for the 64-bit/32-bit variant - building with one of the working 32-bit versions - does not result in a working IDLE.app or bin/idle since IDLE and its subprocesses are all launched in 64-bit mode (where possible) on 10.6.  For testing, it is possible to demonstrate 32-bit mode in a 64-/32- build with a properly built _tkinter.so by using the -n parameter, which causes IDLE to run with no subprocesses:
   arch -i386 /usr/local/bin/idle2.7 -n

Next step: see if the Issue6075 patches help with the Apple 8.5 Tk and, if not, add stuff to force both IDLE.app and bin/idle and their subprocesses to run only in 32-bit mode: probably either some more lipo-ing and/or adding posix_spawns.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list