4

In a rather unceremonious way - Apple has removed Python support (at least from the SDK) in 10.9.

Python IS still installed on the system in...

/System/Library/Frameworks/Python.framework

but trying to link to it under the 10.9 SDK fails. Even with the "CLI Tools" installed, there is no Python in...

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks

I'm no Pythonista... but I do find it interesting that Apple has removed a part of the Developer Toolchain that has been around for so long, and was once so promising (on the Mac platform). Apple often tries to steer the focus towards certain "methodologies"; but historically, when the plug has been pulled - it's over - at least in Apple's eye.

Is this a statement by Apple, along the lines "People aren't using Python very much anymore.. we're gonna phase out support"?

Or simply, "Adoption of PyObjC is anemic, maybe we can reduce the size of the SDK by 3.1Mb"?

Whatever the motivation, it's likely a change that is here to stay. Are there suggestions on workarounds to maintain compile and runtime-compatibility, or insights into why the decision was made?

closed as primarily opinion-based by jmort253, gnat, Jim G., user40980, Alex Feinman Nov 4 '13 at 16:31

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    If that's Apple's intent ("People aren't using Python very much anymore.."), it's a very weird one. Python seems to be more popular now than ever. – Izkata Nov 3 '13 at 19:34
  • 1
    I agree it's weird.. but other technologies have stolen some of Python's "bite", notably JS.. which has been noticeably "embraced" by Apple in 10.9 (JavaScriptCore, etc)... – alex gray Nov 3 '13 at 20:07
  • Well in the past there seemed to be an interest in official support of MacRuby. Don't have a mac anymore or know if its been done or if that was just rumors. – Rig Nov 3 '13 at 20:29
  • 1
    This question appears to be off-topic because it is about a product decision that Apple made. – Jim G. Nov 3 '13 at 22:55
  • @JimG. When I asked myself the question.. the only answer I had... was that this was the perfect place to ask it, lol. But your comment made me realize that my original question has been needlessly edited - and bears little resemblance to what I actually said. Rolling back! – alex gray Nov 3 '13 at 23:09
6

There is an official support page on the subject:

Changes To Embedding Python Using Xcode 5.0

According to that page the rationale is:

Because Python is a framework, it also resides in the SDK, even though Python (or any scripting language) has difficulties being in two places. Due to both long-term and recent issues, it was decided to remove Python from the SDK.

The subsequent Apple recommendation is to use the standard *nix way of linking to headers instead of linking to Python.framework.

  • Apple's response that Python is a framework seems like they might need a technical writer review. I've never heard a language referred to as a framework. Especially when the next line declares it a language. – Rig Nov 3 '13 at 23:25
  • 5
    @Rig: I suspect that they say "Python is a framework" as a short-hand way of saying "Python is packaged in a framework bundle." (Which is what is written above, in the same article) - the reason for that being that the word "framework" is only used in that page as a synonym for "framework bundle". – jhominal Nov 3 '13 at 23:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.