What was the rationality behind having to explicitly declare C
division, versus explicitly declaring python division?

Just curious.

Cheers!



On Mon, Nov 9, 2009 at 5:40 PM, Dag Sverre Seljebotn
<[email protected]> wrote:
>> Hi all,
>>
>> Why is it necessary to decorate a pure "cdef" with
>> @cython.cdivision(True) in order to release the gil?
>>
>> If I missed the discussion on this somewhere, feel free to just refer
>> me back to the archive.
>
> If there's a division by zero in Python division mode, an exception must
> be raised, and to create the exception one must have the GIL...
>
> Dag Sverre
>
> _______________________________________________
> 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