[Pythonmac-SIG] Distinguishing between MacPython and Fink Python at runtime

hinsen at cnrs-orleans.fr hinsen at cnrs-orleans.fr
Tue Sep 7 19:19:48 CEST 2004


On Sep 6, 2004, at 16:15, Nicholas Riley wrote:

>>>> import Tkinter
>>>> foo = Tkinter.Toplevel()
>>>> foo.winfo_server()
> 'QD10R30 Apple 1035'
>
> for Aqua, or you'd get back "X11..." for X11.

That looks useful, thanks!

> Unfortunately, at least in the TkAqua 8.4.1 I have on my desktop G4,
> winfo_server (and the corresponding Tcl, 'winfo server') causes the
> process to crash:
...
> It works fine on my PowerBook with TkAqua 8.4.7, so it must have been
> fixed somewhere in between.
>
TkAqua is pretty unstable in general, so I am willing to take the point 
of view that everyone should update regularly.

Konrad.



More information about the Pythonmac-SIG mailing list