> So that > > cdef int a = 5, b = 2 > print a / b > > would print 2.5 ? I think that would be a surprising result. We should at > least split the future import into "division" and "cdivision" in that case.
Well, it has to be explicitly enabled, and once that is done, it is very easy to simply do print a // b to get C behaviour. If you know how to import division, you know enough for this behaviour to not be surprising I think? -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
