Bryan O'Sullivan, 13.04.2013 05:02:
> Here are two lines of valid Python:
>
> >>> 'abc'[None:2]
> 'ab'
> >>> 'abc'[1:None]
> 'bc'
>
> If I try this in code that I compile with Cython, it throws an exception:
>
> TypeError: 'NoneType' object cannot be interpreted as an index
Have you tried it wi
Here are two lines of valid Python:
>>> 'abc'[None:2]
'ab'
>>> 'abc'[1:None]
'bc'
If I try this in code that I compile with Cython, it throws an exception:
TypeError: 'NoneType' object cannot be interpreted as an index
___
cython-devel mailing list
cyt