artemp/trac2github — Issue #595: Featureset.Features inconsistent behavior in Python
Author: artemp
Created: 2011-10-09 20:42:30+00:00
State: open
Labels: Boost_Python_Binding

So, I've been functionality of Featureset.Features to try to avoid using the iterator style of getting features at a point on a map, but it appears that this functionality, as it is exposed to Python, is still using an iterator internally and doesn't reset it after you call Featureset.Features for the first time. I've attached a test case that demonstrates that the len() of a feature list changes after checking it once.