Carl Witty wrote: > > One point I alluded to above, but maybe should emphasize: > > IMHO we should preserve that a == (a//b)*b + a%b. This means that we > should either change both division and modulo, or neither.
Please let simple C types behave like simple C types and Python objects like Python objects. Even if it means 1/1 will return 1.0 i Python 3 and 1 in Cython. You could let numerical literals be Python objects unless an explicit cast to C is made. Thus, "1" would a Python integer object and "<int> 1" would be a C integer constant. That would ensure maximum similarity between Python and Cython, but be very annoying when writing numerical code in Cython. Sturla Molden _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
