I think we're past the point where more talking would help. Either I'm
missing something important or you are. Like I said, if you ever get
around to implementing this, drop me a line. I'd love to take a look.
--
____
Warm Regar
y manageable
amount.
I mean... if you think "there's really no major obstacle" then more
power to you! I'd love to see what you come up with. But I think
you're underestimating the complexity of the task.
--
Warm Regards
Prakhar Goel
__
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 l
ing.
--
____
Warm Regards
Prakhar Goel
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
ctions only or maybe even special syntax) to ensure that this is
the case.
--
________
Warm Regards
Prakhar Goel
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
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
orig
elf explanatory.
--
____
Warm Regards
Prakhar Goel
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel
I assume that was done to avoid including all the C files that the
Cython compiler generates. You can specifically tell git not to ignore
your C file using a ! pattern in the .gitignore file. More details
here: https://git-scm.com/docs/gitignore.
--
Warm Regards
Prakhar
hanks.
--
____
Warm Regards
Prakhar Goel
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel