[Cython] About IndexNode and unicode[index]
stefan_ml at behnel.de
Sat Mar 2 19:47:01 CET 2013
Zaur Shibzukhov, 02.03.2013 18:55:
> 2013/3/2 Stefan Behnel:
>>> I think you could even pass in two flags, one for wraparound and one for
>>> boundscheck, and then just evaluate them appropriately in the existing "if"
>>> tests above. That should allow both features to be supported independently
>>> in a fast way.
> It seems to include the following directive at the beginning of the
> tests (which tests indices for lists, tuples and unicode):
> #cython: boundscheck=True
> #cython: wraparound=True
> as default mode for testing?
Yes, although they would appear redundant here.
More information about the cython-devel