is there an error in that table:

'''

cdivision   True/False  Version >= 0.12 

If set to True, Cython will adjust the remainder and quotient
operators C types to match those of Python ints (which differ when the
operands have opposite signs) and raise a ZeroDivisionError when the
right operand is 0. This has about a 35% speed penalty. See CEP 516

'''

Shouldn't that be, "If set to False,...." ?





On Mon, Nov 9, 2009 at 7:30 PM, Robert Bradshaw
<[email protected]> wrote:
> On Nov 9, 2009, at 6:55 AM, Lisandro Dalcin wrote:
>
>> 2009/11/8 Stéfan van der Walt <[email protected]>:
>>> Hi all,
>>>
>>> What is the best way to enable cython.cdivision for a whole file?
>>>
>>
>> You can set any directive at the very beginning for the whole file,
>> like this:
>>
>> http://code.google.com/p/mpi4py/source/browse/trunk/src/mpi4py.MPI.pyx
>
> See also
>
> http://wiki.cython.org/enhancements/compilerdirectives
>
> - Robert
>
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to