[Xapian-tickets] [Xapian] #346: Python 3 support

Xapian nobody at xapian.org
Fri Sep 27 08:31:04 BST 2013


#346: Python 3 support
--------------------------------------+------------------------------
 Reporter:  olly                      |             Owner:  richard
     Type:  defect                    |            Status:  assigned
 Priority:  highest                   |         Milestone:  1.3.2
Component:  Xapian-bindings (Python)  |           Version:  SVN trunk
 Severity:  normal                    |        Resolution:
 Keywords:                            |        Blocked By:
 Blocking:                            |  Operating System:  All
--------------------------------------+------------------------------
\
\
\
\
\
\

Comment (by olly):

 I've committed progress so far in r17505.

 Still need to stop str being accepted for unserialise() methods, and "make
 check" currently fails (though I have updated a lot of the testsuite for
 the "return bytes" change).

 One issue I'm unsure on - should {{{Xapian::version_string()}}} really
 return a bytes string?  It seems it's more a meta-data thing than really
 part of the Xapian API, so perhaps shouldn't be included in the
 "everything returns bytes" rule.

 Perhaps we should rework all the version stuff for python - being able to
 get a string or a tuple would feel more natural I think, but currently we
 offer a byte string, or 3 integer components (each via a separate
 function).  {{{sys.version}}} and {{{sys.version_info}}} seems a good
 model.
\
\
\

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



More information about the Xapian-tickets mailing list