Python bindings for libkdtree: FIX of find_within_range...

Willi Richert w.richert at gmx.net
Wed Dec 12 10:01:41 UTC 2012


+libkdtree-devel

Does anyone have had similar problems with libkdtree++ on Fedore17?

Thanks,
wr


2012/12/12 Rob <prowelr at zoominternet.net>

> There appears to be something wrong with the python bindings from the
> Fedora17 packages.  They say they are using 0.7.0 but for whatever reason
> their bindings don't work.  The ones you sent to me do though.  I can
> compile and use your tarball at will.  So this begs the question of whether
> your code is more recent than the 0.7.0 tarballs on goliath.debian.org.
>
> As a workaround I've since compiled and copied your interface module and
> the .so file to the python library directories on my system to supercede
> the ones from the distro.
>
> What would be really awesome would be the use of subclassing and
> overloading the sorting methods from the base object so each dimension can
> be sorted like when using the library in c++...thus allowing for a generic
> implementation instead of kdtree_3f, kdtree_4i, or whatever. Not sure if
> that level of binding is even possible in python.
>
> Thanks.
> RP
>
>
>
>
>
> On 12/11/2012 03:05 PM, Willi Richert wrote:
>
>> So I just looked at it and got no errors:
>>
>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>> 41
>>
>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>> 51
>>
>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>> 43
>>
>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> python kdtest.py
>> 59
>>
>>   wr@[willi]:~/entwicklung/**libkdtree/python-bindings> md5sum kdtest.py
>> 13f459bda4343ddd7097866c6b1fab**73  kdtest.py
>>
>> Do we have the same version?
>>
>> I have attached the generated files as a tarball for you to compare with
>> your python_bindings.
>>
>> Have you updated your libkdtree to the most recent version?
>>
>> Thanks,
>> wr
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libkdtree-devel/attachments/20121212/0d0d9035/attachment.html>


More information about the libkdtree-devel mailing list