[Tkinter-discuss] Idle bug under MacOSX Maverick

Ned Deily nad at acm.org
Wed Oct 23 21:40:01 CEST 2013


In article 
<CABaQFFEn+6wP6=opdiD2ERFDcq4eDw3y0T+MYfBRYMitZCspSw at mail.gmail.com>,
 "Michael O'Donnell" <michael.odonnell at uam.es> wrote:

> Dear all,
> 
>   not sure this is the right place to send this, but
> can't find an email list for Idle.
> 
> Installed OSX 10.9 (Maverick) this morning,
> and then opened Idle (as packaged with
> Python 3.4.0 alpha 4 from the python.org release).
> 
> I can do most everything, except when I click on
> my code to change the insert pointer location, it doesn't
> move from the old position.
> 
> Well, to make things worse, once in ten clicks
> it will follow. Sometimes, especially when i click
> beyond the last char on a line, the insert mark
> disappears entirely.
> 
> Anyone seen anything similar? Anyone
> run Idle under Maverick without this problem?

This is an OS X 10.9 related problem in Cocoa Tk.  It is awaiting further 
investigation:

https://core.tcl.tk/tk/tktview?name=53f7a1b553

http://bugs.activestate.com/show_bug.cgi?id=101210

Note that the display updates when you mouse over the text window scroll bar 
or type in the window.

The simplest workaround for Python 3.x at the moment is to launch IDLE in 
32-bit mode, for example:

   python3.4-32 -m idlelib

As noted in the Tk issue above, the Apple-supplied Tk 8.5.9 does not have this 
problem so it shouldn't be too hard to get this fixed.  It is possible to have 
Python 3.4.x use the system Python but then you run into its known other 
problems, including immediate crashes when typing a composing character in a 
text field (for example, on US Extended input methord, opt-u a for a).

-- 
 Ned Deily,
 nad at acm.org



More information about the Tkinter-discuss mailing list