Ian Kelly <ian.g.kelly at gmail.com> writes: > Since the setup code is only run once, the generator expression used > for y is only iterated over once. Ah, thanks, I'd been wondering what was going on with Frank's example but hadn't gotten around to trying to analyze it.