Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2010, 09:19 AM   #1
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,254
Karma: 42123822
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
DiapDealer is online now   Reply With Quote
Old 12-17-2010, 11:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,106
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They're all 2.7 now.
kovidgoyal is offline   Reply With Quote
Old 12-17-2010, 11:06 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,254
Karma: 42123822
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)?
DiapDealer is online now   Reply With Quote
Old 12-17-2010, 11:10 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,106
Karma: 5101571
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
kovidgoyal is offline   Reply With Quote
Old 12-17-2010, 11:19 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,254
Karma: 42123822
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
You can always test the python version using
sys.version_info
...which is probably the better approach, anyway.
Thanks!
DiapDealer is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 10:03 AM.


MobileRead.com is a privately owned, operated and funded community.