[issue17496] OS X test for Tk availability in runtktests.py doesn't work

Ronald Oussoren report at bugs.python.org
Tue Jul 23 11:10:13 CEST 2013


Ronald Oussoren added the comment:

To respond to my own message: running a small Tcl script is not good enough, the process environment of python itself is also important.

In particular, GUI frameworks only work from inside an application bundle (or by using some undocumented private APIs) and that's why the Tk tests cannot work on OSX without installing. 

BTW. I just verified that MacOS.WMAvailable() works just fine in 64-bit processes (python 2.7 on OSX 10.8), and according to the header files the API functions used in its implementation (and the corresponding python code in 3.x) are not deprecated.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17496>
_______________________________________


More information about the Python-bugs-list mailing list