> There is a very clear distinction between all types, including Python > types > and C types. The internals are not always simple, but the syntax is and > the > semantics tries to be, which is the thing that matters.
You are adding Python syntax to some but not all C types, with the argument that you are trying to make Cython an optionally statically typed Python. So 'cdef int' gives the behaviour of a Python int, whilst 'cdef float' gives the behaviour of a C float. > This discussion is not about right or wrong, it's about good semantics > that > matches the expectations that users have of the language. What does we expect cdef float a to mean? Single or double precision? Sturla Molden _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
