On Apr 24, 2009, at 8:17 AM, Lisandro Dalcin wrote:

> I'm working on #295, but there is something I do not understand... We
> can use directives as decorators like this:
>
> @cython.cdivision(True)
> def foo(): pass
>
> But then... Why Shadow.py does not expose a "cdivision" for using it
> as a decorator??

Because I forgot to add it when I added cdiv/cmod. Note that  
cdivision does not guarantee certain semantics for division, just  
says that Python semantics are not enforced.

The other compiler directives should be added as well.

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to