On Tue, Apr 13, 2010 at 4:19 PM, Brent Pedersen <[email protected]> wrote:
> On Tue, Apr 13, 2010 at 7:10 AM, Sean Gillies <[email protected]> wrote:
>> Would anybody object to having these methods return iterators instead
>> of lists? In some cases it could save unnecessary copying and it's
>> trivial to call list() on the iterator if you want an actual list.
>> Brent?
>>
>> --
>> Sean
>>
>
> fine with me, i only use the iterators anyway. it's already
> implemented, just change the default as_list=False to True.
> i think we defaulted to list for backwards compatibility. looks like
> just nearest needs an extra kwarg added.

Great. Speaking of nearest(), I'd like the number of results to
default to 1. Ok?

-- 
Sean
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to