12-17-2010, 09:19 AM | #1 |
Grand Sorcerer
Posts: 27,881
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Python 2.7
The change log indicates that the Windows binary build has been updated to use Python 2.7 (as of 0.7.30), but it's a little unclear (or I just missed it) if the Linux and OS X builds are now on 2.7, as well. (and if so... at what point) .
The reason I ask is that I have plugins that import compiled modules which may squawk about 'magic numbers' when importing modules from an older python build into a newer one. I don't foresee much trouble handling the situation programmatically, but I need to verify if all three OS builds were switched to Python 2.7 at the same time... or if not, when. Thanks |
12-17-2010, 11:03 AM | #2 |
creator of calibre
Posts: 44,313
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
They're all 2.7 now.
|
Advert | |
|
12-17-2010, 11:06 AM | #3 |
Grand Sorcerer
Posts: 27,881
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Cool, thanks. But did they all go to 2.7 in the same version (0.7.30)?
|
12-17-2010, 11:10 AM | #4 |
creator of calibre
Posts: 44,313
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, the changelog mentions when each one did. For linux IIRC the entry is "all new linux binary with updated libraries" and for OS X it is new OS X binary build which only runs on os x leopard and higher.
You can always test the python version using sys.version_info |
12-17-2010, 11:19 AM | #5 | |
Grand Sorcerer
Posts: 27,881
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Thanks! |
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unutterably Silly The Python ONLY thread! | pshrynk | Lounge | 175 | 02-03-2011 01:43 AM |
Installing Python? | luqmaninbmore | PocketBook | 2 | 11-20-2009 01:41 AM |
Functioning Python 2.5 | amirshim | iRex | 19 | 06-30-2009 08:17 PM |
Python 2.5 or 2.6? | itimpi | Calibre | 5 | 01-19-2009 12:48 PM |
Calibre and Python: do they get along? | zander_nyrond | Calibre | 7 | 07-20-2008 06:54 PM |