[Cython] [ENH] Compile-time code execution (macros / templates)

Prakhar Goel newt0311 at gmail.com
Tue Feb 23 11:24:42 EST 2021


I had similar ideas in the past (assuming I understand your proposal). I'd
love it if a decorator could link to some python function. This python
function would get something that represents the cdef function (with the
ast). It would then return a transformed ast that could be spliced into the
original program.

-- PG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/cython-devel/attachments/20210223/db8e525c/attachment.html>


More information about the cython-devel mailing list