Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 10, 2011, 08:28 AM   #1
mumblefish
macrumors newbie
 
Join Date: Mar 2011
Location: Boston, MA
Send a message via MSN to mumblefish Send a message via Skype™ to mumblefish
Mac OS X Lion and Python

Hello Everyone,


First post here. I am a software developer, however I'm running into a slight problem. For my next project I will be using Python, but Mac OS X seems to ship only with 2.x. I'm wondering if anyone knows the specifications (in terms of software) for Mac OS X Lion. Will it ship with Pythin 3.x? Also what will be the OpenGL guidelines for Lion?


Thanks in Advanced.
-MumbleFish
__________________
mumblefish, AKA knowledgegranted
mumblefish is offline   0 Reply With Quote
Old Mar 10, 2011, 08:49 AM   #2
Hansr
macrumors 6502a
 
Join Date: Apr 2007
I haven't come across anyone building proper software with Python 3.x everyone is still on the 2.x branch. It may start changing now since they stopped keeping 2.x in sync in terms of fixes etc.

But even so why would it matter what ships with the OS, you can just bundle the newer libraries or require that people install it before hand.

Apple generally doesn't comment on the versions that ship with the OS for minor libraries so gauging them from the dev builds is most likely your best option.

The OpenGL support will most likely not be clear until close to actual release.
Hansr is offline   0 Reply With Quote
Old Mar 10, 2011, 09:24 AM   #3
mumblefish
Thread Starter
macrumors newbie
 
Join Date: Mar 2011
Location: Boston, MA
Send a message via MSN to mumblefish Send a message via Skype™ to mumblefish
Quote:
Originally Posted by Hansr View Post
I haven't come across anyone building proper software with Python 3.x everyone is still on the 2.x branch. It may start changing now since they stopped keeping 2.x in sync in terms of fixes etc.

But even so why would it matter what ships with the OS, you can just bundle the newer libraries or require that people install it before hand.

Apple generally doesn't comment on the versions that ship with the OS for minor libraries so gauging them from the dev builds is most likely your best option.

The OpenGL support will most likely not be clear until close to actual release.
@Hansr, there are many things in Python 3.x that aren't achievable with Python 2.x also note that having the possible users install extra 'things' is unacceptable. However this isn't your problem and thank you for your info.

I found something in google that says Lion will only support up to 3.2OpenGL, but no confirmation yet.
__________________
mumblefish, AKA knowledgegranted
mumblefish is offline   0 Reply With Quote
Old Mar 10, 2011, 09:35 AM   #4
Hansr
macrumors 6502a
 
Join Date: Apr 2007
Quote:
Originally Posted by mumblefish View Post
also note that having the possible users install extra 'things' is unacceptable.
Then you could freeze the script based implementation into a binary distribution with py2app or cx_Freeze.

Or embed the interpreter into your application if it's a C/C++/Obj-C based one: http://docs.python.org/extending/embedding.html
Hansr is offline   0 Reply With Quote
Old Mar 11, 2011, 02:34 PM   #5
Cromulent
macrumors 603
 
Cromulent's Avatar
 
Join Date: Oct 2006
Location: The Land of Hope and Glory
Quote:
Originally Posted by mumblefish View Post
Hello Everyone,


First post here. I am a software developer, however I'm running into a slight problem. For my next project I will be using Python, but Mac OS X seems to ship only with 2.x. I'm wondering if anyone knows the specifications (in terms of software) for Mac OS X Lion. Will it ship with Pythin 3.x? Also what will be the OpenGL guidelines for Lion?


Thanks in Advanced.
-MumbleFish
It is highly unlikely that Apple will ship Python 3 with Mac OS X Lion.

Apple have stated that Lion will officially support OpenGL 3.2 but they may well implement some of the newer features via extensions, they just won't claim compatibility with the newer standards. That is what they did with Snow Leopard.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development
Last.fm Profile | Extreme Metal Reviews
MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3
Cromulent is offline   0 Reply With Quote
Old Mar 11, 2011, 04:06 PM   #6
Kenndac
macrumors regular
 
Join Date: Jun 2003
Lion Developer Preview has Python 2.7.
Kenndac is offline   0 Reply With Quote
Old Mar 11, 2011, 06:31 PM   #7
subsonix
macrumors 68040
 
Join Date: Feb 2008
It makes sense from Apples perspective to include a mature and widely adopted version as the default installation. If you want anything different you have to install it on your own.

http://python3wos.appspot.com/
subsonix is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Mac, Apache, Oracle, Python? ArtOfWarfare Mac Programming 5 May 7, 2014 12:29 PM
Python with Mac Mini or Power Mac G5 aajeevlin PowerPC Macs 3 Apr 13, 2014 12:00 PM
Python Mac Library? VideoBeagle Mac Programming 5 Dec 7, 2013 08:44 AM
Snow Leopard Vs Lion Vs Mountain Lion for 2006 2.66x4 Mac Pro cen7779 Mac Pro 9 Oct 3, 2012 04:44 PM
Changing Default Lion Python Version to 2.4 testcss Mac Programming 1 Jun 22, 2012 08:58 AM

Forum Jump

All times are GMT -5. The time now is 07:03 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC