[Cython] C++ STL iteration bugs

Robert Bradshaw robertwb at gmail.com
Sun Aug 12 07:03:09 CEST 2012


On Sat, Aug 11, 2012 at 1:19 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Hi,
>
> I ran into a couple of problems with the new C++ STL integration, just
> dumping them here for now.
>
> Invalid C code when using a stack allocated C++ vector inside of a
> generator, also lacking type conversion utility code:
>
> https://github.com/cython/cython/commit/d0a8e24720c3ed4e723b5a1b204bf375780f51bd
>
> Failure to compile iteration over pointer to C++ vector, apparently a type
> inference bug:
>
> https://github.com/cython/cython/commit/edd10c3b33afcac8f471ac6d6664e29f2d985d21
>
> I may not be able to take a serious look at them within the next week but
> would like to see them fixed for the release, so I'd be happy if someone
> can manage to work on them.

I'll be taking a poke at them.

- Robert


More information about the cython-devel mailing list