You can clone with
Currently in Cython, one can do
This doesn't work in Python. Also, if one does
f = math.sin
it doesn't do the same things as Python either.
We should probably at least simulate the correct behavior, without sacrificing the compile-time linking of module-level functions.
[:enhancements/scope/transformimpl: One approach to implementation]
This doesn't work either:
CONST = 25
def foo(self, value=CONST):
This gives a compile-time error.