This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients gpolo, janssen, ned.deily, pitrou, python-dev, r.david.murray, ronaldoussoren, vstinner
Date 2013-07-23.08:55:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374569704.8.0.0449340778958.issue8716@psf.upfronthosting.co.za>
In-reply-to
Content
I just noticed that the Tk tests still get skipped on my machine, and rediscovered this issue. The reason that MacOS.WMAvailable() returns False on the buildbot is because it runs "./python.exe", which is not part of an application bundle and therefore has no GUI access.

To easily reproduce with a framework install:

* Note that MacOS.WMAvailable() returns True when you run
  the python/pythonw when you are logged in to the machine

* Now copy /Library/Framework/Python.frameworks/Versions/Current/Resources/Python.app/Contents/MacOS/Python to "python.exe"

* Run "./python.exe" and note that MacOS.WMAvailable() now returns
  False (and that sys.prefix still refers to the framework)
History
Date User Action Args
2013-07-23 08:55:04ronaldoussorensetrecipients: + ronaldoussoren, janssen, pitrou, vstinner, gpolo, ned.deily, r.david.murray, python-dev
2013-07-23 08:55:04ronaldoussorensetmessageid: <1374569704.8.0.0449340778958.issue8716@psf.upfronthosting.co.za>
2013-07-23 08:55:04ronaldoussorenlinkissue8716 messages
2013-07-23 08:55:04ronaldoussorencreate