View Single Post
Old 04-08-2013, 09:18 AM   #15
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chaley: Thanks to the dynamic nature of python, maintaining compatibility is easy. We just create a dummy object that exposes the same API (a minimal subset) as the current combobox object and get the actual restriction from the new code.

@BR: Filtering is used to denote filtering the current book list alone, not the entire library, which a restriction does. Restrictions are not filters. And one of the motivations for this change is to make this feature both easier to discover and describe. Virtual library meets both those goals.
kovidgoyal is offline   Reply With Quote