rtreelib
rtreelib copied to clipboard
Errors with empty trees
Something like:
t = RTree()
list(t.query((2,4)))
results in AttributeError: 'NoneType' object has no attribute 'min_x'
. Shouldn't the above return an empty list? Alternatively, how to test for emptiness?