Greg, I assume the ast returned by twice will have the AST from f embedded in there somehow so no closure required.
Something like: cdef _tmp_foo(...): # same as foo... cdef foo(...): _tmp_foo() _tmp_foo() -- PG
_______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel