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

Reply via email to