[Xapian-tickets] [Xapian] #703: Python 3 sortable_serialise() broken on 32 bit
Xapian
nobody at xapian.org
Wed Jan 6 22:20:42 GMT 2016
#703: Python 3 sortable_serialise() broken on 32 bit
--------------------------------------+----------------------------
Reporter: barry | Owner: richard
Type: defect | Status: new
Priority: normal | Milestone: 1.3.x
Component: Xapian-bindings (Python) | Version: 1.3.3
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
--------------------------------------+----------------------------
Changes (by olly):
* version: => 1.3.3
Comment:
You can probably workaround by converting to `float` on the Python side,
i.e.:
{{{
#!python
sortable_serialise(float(14215209984))
}}}
While that can lose precision for a suitably large number, the C++
function takes a `double`, so you're going to lose it anyway. Plus this
looks like a `time_t` which isn't going to hit that issue for quite some
time.
--
Ticket URL: <http://trac.xapian.org/ticket/703#comment:4>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list