[Xapian-tickets] [Xapian] #297: Python bindings `xapian.cvar` raises strange NameError in unexpected circumstances
Xapian
nobody at xapian.org
Sat Jun 12 07:27:57 BST 2010
#297: Python bindings `xapian.cvar` raises strange NameError in unexpected
circumstances
-----------------------------+----------------------------------------------
Reporter: exarkun | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.21
Component: Xapian-bindings | Version: SVN trunk
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-----------------------------+----------------------------------------------
Changes (by olly):
* owner: richard => olly
* priority: low => normal
* status: new => assigned
* milestone: 1.2.x => 1.0.21
Comment:
Adding these lines to the interface file causes xapian.BAD_VALUENO to be
handled as a constant, and cvar is no longer generated:
{{{
#!python
%ignore Xapian::BAD_VALUENO;
%constant Xapian::valueno BAD_VALUENO = Xapian::BAD_VALUENO;
}}}
Fixed in trunk r14694. Marking for backport to 1.0.21 as the patch is low
risk.
--
Ticket URL: <http://trac.xapian.org/ticket/297#comment:7>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list