[Cython] a question about Shadow.py
Carl Witty
carl.witty at gmail.com
Sat Apr 25 17:36:18 CEST 2009
On Sat, Apr 25, 2009 at 12:43 AM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> C has undefined division semantics, so Python semantics are fine with
> cython.cdivision(True) (though I have yet to run into that in
> practice). However, almost every compiler directive can't be emulated
> in pure Python mode (e.g. we don't truncate integers), so I am of the
> opinion that they should just be vacuous and ignored rather than all
> raise warnings.
The current version of ANSI C has defined division semantics (the
first version of ANSI C did not).
Carl
More information about the Cython-dev
mailing list