> >> What does we expect >> >> cdef float a >> >> to mean? Single or double precision? > > "float" is a C type. You do the math.
float is also a Python type. Shouldn't we users expect it to have the semantics of a Python float? That is precisely the same argument you are using for int. What about attribue lookup? cdef int a = 1234 print a.id Not keeping C and Python types apart only creates a big mess. Sturla Molden _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
