I think generators are only supported in def functions, not c(p)def. Apparently it was a bug that there was no error produced in older cython versions:
https://github.com/cython/cython/commit/0ea50f346d7cf6aecea4ddab65af85c936f6693b As to why it worked for you, perhaps you only called the Python version of your cpdef function. Or you just didn't notice some bad side effect (like memory leaking). -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org