[Xapian-tickets] [Xapian] #503: Add Python PostingSource example from Xappy to docs

Xapian nobody at xapian.org
Mon Aug 9 14:57:09 BST 2010


#503: Add Python PostingSource example from Xappy to docs
--------------------------------------+-------------------------------------
 Reporter:  jcassee                   |       Owner:  richard
     Type:  enhancement               |      Status:  new    
 Priority:  normal                    |   Milestone:  1.2.3  
Component:  Xapian-bindings (Python)  |     Version:  1.2.2  
 Severity:  normal                    |    Keywords:         
Blockedby:                            |    Platform:  All    
 Blocking:                            |  
--------------------------------------+-------------------------------------

Comment(by jcassee):

 By the way, please add a note to the Python documentation that the
 database reference passed into `PostingSource.init(db)` (not `__init__()`)
 by Xapian should not be stored as a class attribute. Xapian will remove
 the underlying C++ object after leaving the method, and the Python
 application will segfault if you try to use it later on.

 By the way2: it would be nice if Trac users could edit their own ticket
 description; there is still one typo in there...

-- 
Ticket URL: <http://trac.xapian.org/ticket/503#comment:2>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list