Aug. 23, 2016
5:03 a.m.
On Mon, Aug 22, 2016 at 9:44 PM, Robert Bradshaw <robertwb@gmail.com> wrote:
And it would be a step back for the nice auto-conversion facilities you care about, e.g.
py_func(c_func(py_value))
would become
c_value = py_value cdef some_type c_ret inline_cpp "c_ret = c_func(c_value)" py_func(c_ret)
It's just choosing a smaller unit (line vs. file) to swap between languages.
And on this note it would also encourage use of the Python/C API (over swapping "back" to Python) which is often a dangerous step backwards.