[Cython] About IndexNode and unicode[index]

Zaur Shibzukhov szport at gmail.com
Sat Mar 2 18:55:46 CET 2013


2013/3/2 Stefan Behnel <stefan_ml at behnel.de>:
>> 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.
>
> https://github.com/scoder/cython/commit/cc4f7daec3b1f19b5acaed7766e2b6f86902ad94

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?

-- 
С уважением,
Шибзухов З.М.


More information about the cython-devel mailing list