Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 01:56 PM   #1
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 492
Karma: 678910
Join Date: Dec 2017
Device: Kobo
Polyglot Cleanup

Hello Kovid,

I'm actualy working on a "polyglot cleanup". I don't work on the lib itself, but rather to remove any reference by using direct native function that the lib original wrap and that don't not longer needed now.

Of course, the cross version shareed code, like store and metadata sources will be not affected
Additionaly, it not a full cleanup, I will only target if their is a safe and easy 1:1 convertion in a first time.

Any thoughts on it?

EDIT: Damn it, I should have called this "polyglot cleanup", rather than "refatoring".

Last edited by un_pogaz; Yesterday at 06:10 PM.
un_pogaz is online now   Reply With Quote
Old Today, 03:02 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: 45,627
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure, go ahead. polyglot was always meant to be a temporary thing to ease the transition to py3. I have never had the time to clean it up however. Removing uses of it in calibre code (other than recipes/metadata sources/get books store plugins) is fine.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python 3, Polyglot & @six.wraps DaltonST Calibre 2 06-23-2019 10:59 PM
Python 2 to Python 3, Polyglot & Plugins DaltonST Calibre 18 04-24-2019 01:10 AM
Any Addons that aid in Library Cleanup and/or metadata repair/cleanup? Meido Calibre 2 01-17-2018 04:49 AM
Cleanup Authors Niall Library Management 6 09-23-2014 07:42 PM
Any Cleanup tools theducks ePub 2 09-10-2010 01:17 PM


All times are GMT -4. The time now is 03:45 PM.


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