Ian Kelly <ian.g.ke...@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. -- https://mail.python.org/mailman/listinfo/python-list