Carlos Pita schrieb am 06.11.2015 um 20:12: > Say you define: > > def f(*ts): > ts = (t for t in ts) > list(ts) > > def g(*ts): > list(t for t in ts) > > def h(*ts): > list((t for t in ts)) > > 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.
It's a known bug. http://trac.cython.org/ticket/600 Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel