<div dir="ltr">Say you define:<br><div><div><br>def f(*ts):<br>    ts = (t for t in ts)<br>    list(ts)<br><br>def g(*ts):<br>    list(t for t in ts)<br><br>def h(*ts):<br>    list((t for t in ts))<br><br></div><div>Then f(1,2,3) will fail with "Generator already executing" while g(1,2,3) and h(1,2, 3) won't. All versions should work the same.<br><br></div><div>Cheers<br>--<br></div><div>Carlos<br></div><div><br></div></div></div>