> The problem we're trying to fix is unique to generators (thereby also
> implicating generator expressions).
I suppose since you're only fixing generators, then that is literally
the only problem you are trying to fix, but it is more general than
that. I have encountered this sort of problem writing __next__ by hand
in Python -- that is, that bugs inside code I call result in silent
control flow changes rather than a visible exception.