Peter Otten writes: > Jussi Piitulainen wrote:
[- -] >> while more: >> yield gp() [- -] > As usual I couldn't stop and came up with something very similar: [- -] > while more: > g = group() > yield g > for _ in g: pass [- -] > The one thing I think you should adopt from this is that the current > group is consumed before yielding the next. Oh yes. I see now that it's also easy to do so. -- https://mail.python.org/mailman/listinfo/python-list