[MacPorts] #42191: python*: IDLE requires py*-tkinter
MacPorts
noreply at macports.org
Sun Dec 15 06:24:19 UTC 2019
#42191: python*: IDLE requires py*-tkinter
-------------------------------------------------+-------------------------
Reporter: LenoreHorner | Owner:
| jyrkiwahlstedt
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: python26 python27 python32 |
python33 python34 python35 python36 python37 |
-------------------------------------------------+-------------------------
Comment (by ned-deily):
> There is AquaTk mentioned, that make sense, so I believe I was right,
they use different implementations of Tkinter namely AquaTk and the X11
based Tk. This leads to those problems, because the IDLE.app is written
for AquaTk and not X11.
No, there is only one version of IDLE and one version of Tkinter in a
Python release. Tkinter links to the provided version of Tk. MacPorts
supports both current variants of Tk for macOS: the old, deprecated (on
macOS) X11-based Tk and the "native" AquaTk (AKA Cocoa Tk). The latter is
installed with ``port install tk +quartz``. Both variant builds of Tk
present the same ABI to Tkinter. You can actually switch between the
quartz variant and the X11 variant of the tk port without touching
Tkinter. I keep both variants of Tk around - one activated and the other
deactivated - to do comparison testing. Both variants work for me with
the current IDLEs and the current versions of macOS including Catalina.
--
Ticket URL: <https://trac.macports.org/ticket/42191#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list