[Cython] [ENH] Compile-time code execution (macros / templates)
Prakhar Goel
newt0311 at gmail.com
Fri Feb 26 06:27:54 EST 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/cython-devel/attachments/20210226/175648a8/attachment.html>
More information about the cython-devel
mailing list