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 ned.deily, ronaldoussoren
Date 2013-07-07.09:11:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373188277.85.0.140879649909.issue18393@psf.upfronthosting.co.za>
In-reply-to
Content
In OSX 10.8 the Gestalt() funtion in CoreServices is deprecated. This function is used in the _gestalt extension and exported to Python code.

The only in-tree user of this (private) extension is the platform module, it uses gestalt as one of the alternatives to get the OSX release; and a fallback at that.

A stackoverflow user has done some sleuthing and discovered that the gestalt function uses the same XML file to determine the OSX release as is used by the primary alternative used by the platform module (see <http://stackoverflow.com/questions/11072804/mac-os-x-10-8-replacement-for-gestalt-for-testing-os-version-at-runtime>). The gestalt alternative will therefore likely be useful at all (it is only used when the file it reads is not available in the first place).

The easiest solution to avoid this deprecated API is therefore to drop the  _gestalt extension and remove its use in platform.mac_ver()
History
Date User Action Args
2013-07-07 09:11:17ronaldoussorensetrecipients: + ronaldoussoren, ned.deily
2013-07-07 09:11:17ronaldoussorensetmessageid: <1373188277.85.0.140879649909.issue18393@psf.upfronthosting.co.za>
2013-07-07 09:11:17ronaldoussorenlinkissue18393 messages
2013-07-07 09:11:17ronaldoussorencreate