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 ned.deily
Recipients ned.deily, ronaldoussoren
Date 2013-05-30.01:17:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369876668.81.0.148106363969.issue18098@psf.upfronthosting.co.za>
In-reply-to
Content
The Build Applet.app tool for OS X depends on the deprecated EasyDialogs module to interact with the user.  EasyDialogs depends on Apple-deprecated Carbon QuickDraw APIs.  As of OS X 10.8, the headers for the QuickDraw APIs are no longer supplied with Xcode 4.  This means that Build Applet.app can no longer be built on 10.8 unless an earlier version of Xcode and an SDK from an earlier system are used.  The Mac/Makefile target "install_BuildApplet" fails with either:
  ImportError: cannot import name GetNewDialog
or
  AttributeError: 'module' object has no attribute 'GetQDGlobalsScreenBits'
depending on whether the interpreter being built supports 32-bit or not.    

Given that Build Applet.app is already considered deprecated and has been removed in Python 3, it does not seem appropriate to attempt to re-engineer its GUI interface.  Instead, the Makefile should just skip building it if EasyDialogs is not available.

(Note that the QuickDraw libraries are still being shipped in OS X 10.8, so a "Build Applet.app" built on an older system - such as with the python.org OS X installers - will still run on 10.8.  There is no guarantee that will still be true in future versions of OS X.)
History
Date User Action Args
2013-05-30 01:17:48ned.deilysetrecipients: + ned.deily, ronaldoussoren
2013-05-30 01:17:48ned.deilysetmessageid: <1369876668.81.0.148106363969.issue18098@psf.upfronthosting.co.za>
2013-05-30 01:17:48ned.deilylinkissue18098 messages
2013-05-30 01:17:47ned.deilycreate