[Cython] C++ STL iteration bugs

Stefan Behnel stefan_ml at behnel.de
Sun Aug 12 10:20:03 CEST 2012


Stefan Behnel, 12.08.2012 08:58:
> On a somewhat related note, it would be nice to support
> 
>     for x in iter(c_ptr, end_value):
>         ...
> 
> That would mostly be a generalisation of the special "ends with c'\0'"
> special case of char* iteration, i.e. that would become equivalent to
> 
>     iter(char_ptr, c'\0')

http://trac.cython.org/cython_trac/ticket/786

Stefan



More information about the cython-devel mailing list