The trap is when you invest all the work up front.... and the next() call immediately returns StopIteration
Which seems to happen quite often when people customize their software, especially up-front, instead of over time. I suppose you could describe it as waterfall-style customization