[Python-Dev] Removing IDLE from the standard library

Kurt B. Kaiser kbk at shore.net
Mon Jul 12 17:23:04 CEST 2010


On Mon, Jul 12 2010, Antoine Pitrou wrote:

> On Mon, 12 Jul 2010 08:12:10 -0400
> "Kurt B. Kaiser" <kbk at shore.net> wrote:
>> >
>> > Ok, I've just tried IDLE (on py3k) for the first time in years. Under
>> > Linux, the look is ugly and outdated; it uses some kind of Motif-like
>> > widgets.
>> 
>> That's because Linux isn't using Tk 8.5 yet.  Debian defaults to Tk 8.5
>> in experimental since March.  Most Linux is Tk 8.4.
>
> No, that's wrong. Tk here is 8.6:
>
> $ ldd build/lib.linux-x86_64-3.2/_tkinter.so 
> [...]
> 	libtk8.6.so.0 => /usr/lib64/libtk8.6.so.0 (0x00007f4eb9259000)
> 	libtcl8.6.so.0 => /usr/lib64/libtcl8.6.so.0 (0x00007f4eb8f07000)
> [...]
>
> $ ./python -c "import tkinter; print(tkinter.TkVersion)"
> 8.6

What distro are you using?  Tk8.6 is still in beta.

Still looks crummy?  Bummer.

>> > the file open dialog is antiquated and doesn't allow me to use
>> > keyboard shortcuts).
>> 
>> Looks much better in 8.5 and the shortcuts work.
>> 
>> http://images.rant.ml1.net/idle2.gif
>
> Well, this is a Windows screenshot. I'm under Linux.

Fine, I showed it as an example of the improvement in 8.5.  Most people,
I think, are using Windows or Macs.  Looks decent, don't you think?

I don't have Tk8.5 running under Linux yet, much less 8.6.  But the Tk
release docs claim improvement under X11.

It's possible we may have to use Tk theming to get full benefit of the
Tile improvements in X11.

-- 
KBK


More information about the Python-Dev mailing list