[Xapian-discuss] Any update on a python 3.x compatible bindings for Xapian

Richard Boulton richard at tartarus.org
Tue Feb 9 13:14:31 GMT 2010


On 9 February 2010 12:53, Steve Zatz <slzatz at gmail.com> wrote:
> I see this trac ticket:  http://trac.xapian.org/ticket/346 which looks like
> it was last updated 6 months ago.  Is there any information available on the
> time frame?  Thanks,

No-one's been working on it lately, that I know of.  I've been meaning
to get around to it at some point, but since no-one had asked for it
recently either, it was low in my priority list (compared to helping
get 1.2.0 out the door).

I assume this means you'd like this to be supported?  If so, I'll try
and look at it in the next week or so - particularly since the other
issues for 1.2.0 are largely resolved now (we'll hopefully have a
1.1.4 release shortly, to get a bit more testing, but I'm not
expecting there to be much time or many changes between that and a
1.2.0 release).

IIRC, the main thing blocking python3.0 support is the string handling
- I'd like to make it strict, so that functions which expect textual
data all require unicode strings, and functions which expect binary
data require byte strings.  The python 2.x bindings allow either in
all places where strings are supplied, and auto-convert, which is
probably right for 2.x, but bad for python3.0 interface.

-- 
Richard



More information about the Xapian-discuss mailing list