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 sdaoden
Recipients ixokai, nadeem.vawda, ned.deily, neologix, pitrou, python-dev, ronaldoussoren, sdaoden, skrah, vstinner
Date 2011-06-08.12:21:14
SpamBayes Score 2.7300393e-07
Marked as misclassified No
Message-id <20110608122104.GA6570@sherwood.local>
Ok, this patch could be used.
*Unless* the code is not protected by the GIL.

- Gestalt usage is a bit more complicated according to

  unless Python only supports OS X 10.4 and later.
  (And correctly states that in _mac_ver_gestalt(),
  but see below.)

- Due to usage of Gestalt, '-framework CoreServices' must be
  linked against mmapmodule.c.
  The Python configuration stuff is interesting for me, i managed
  compilation by adding the line

    mmap mmapmodule.c -framework CoreServices

  to Modules/Setup, but i guess it's only OS X which is happy
  about that. _mac_ver_xml() should be dropped entirely according
to one of Ned Deily's links ("never officially supported"), and
_mac_ver_gestalt() obviously never executed because i guess it
would fail due to "versioninfo".  Unless i missed something.

By the way: where do you get the info from?  "sys1", "sys2",
"sys3"?  Cannot find it anywhere, only the long names, e.g.

Note that i've mailed Apple.  I did not pay 99$ or even 249$, so
i don't know if there will be a response.
Ciao, Steffen
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments
File name Uploaded sdaoden, 2011-06-08.12:21:13
Date User Action Args
2011-06-08 12:21:16sdaodensetrecipients: + sdaoden, ixokai, ronaldoussoren, pitrou, vstinner, nadeem.vawda, ned.deily, skrah, neologix, python-dev
2011-06-08 12:21:14sdaodenlinkissue11277 messages
2011-06-08 12:21:14sdaodencreate