Comment 2 for bug 541637

Revision history for this message
Gary Poster (gary) wrote : Re: searchTasks doesn't return all matching tasks?!

I'm inclined to change the title of this bug to the following.

    Mutating results of iterator can produce incorrect results in iterator

I'd then mark as "Wont Fix" at worst or "Triaged: Low" at best. While not ideal, this is not surprising behavior to me, and pretty typical of Python iterators.

I can think of two arguments that would change my mind. Maybe there are more. :-)

1) list(iterator) gives the wrong answer.

2) you can't know if list(iterator) will be too big or problematic in some other way.

This also should have Leonard's weigh-in, which won't happen till next week.