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 ixokai, nadeem.vawda, ned.deily, neologix, pitrou, python-dev, ronaldoussoren, sdaoden, skrah, vstinner
Date 2011-06-08.13:51:58
SpamBayes Score 8.389375e-06
Marked as misclassified No
Message-id <1307541119.79.0.601655314785.issue11277@psf.upfronthosting.co.za>
In-reply-to
Content
Steffen: _mac_ver_xml should not be dropped, it is a perfectly fine way to determine the system version.  Discussing it is also off-topic for this issue, please keep the discussion focussed.

Wrt. mailing Apple: I wouldn't expect and answer. Is there something specific you want to know? I'm currently at WWDC and might be able to ask the question at one of the labs (where Apple's engineers hang out).

If it is really necessary to check for the OS version to enable the OSX-specific bugfix it is possible to look at the uname information instead of using gestalt.  In particular something simular to this Python code:

   v = os.uname()[2]
   major = int(v.split('.')[0])
   if major <= 10:
      # We're on OSX 10.6 or earlier
      enableWorkaround()

This tests the kernel version instead of the system version, but until now the major version of the kernel has increased with every major release of the OS and I have no reason to suspect that Lion will be any different.

BTW2: OSX 10.7 is not released yet and should not be discussed in public fora, as you should know if you have legal access.
History
Date User Action Args
2011-06-08 13:51:59ronaldoussorensetrecipients: + ronaldoussoren, ixokai, pitrou, vstinner, nadeem.vawda, ned.deily, skrah, neologix, sdaoden, python-dev
2011-06-08 13:51:59ronaldoussorensetmessageid: <1307541119.79.0.601655314785.issue11277@psf.upfronthosting.co.za>
2011-06-08 13:51:59ronaldoussorenlinkissue11277 messages
2011-06-08 13:51:58ronaldoussorencreate