[Cython] read-only memory views

Christoph Groth cwg at falma.de
Wed Sep 19 09:06:55 CEST 2012


Robert Bradshaw <robertwb at gmail.com>
writes:

> Coincidentally, I actually implemented rudimentary const support a
> couple of days ago. It's not perfect, but at least it allows you to
> provide the correct declarations to deal with const polluted^H^H^H^H
> correct code (including const c++ class methods, for which there was
> simply no workaround). I just need to write some tests before I feel
> comfortable pushing it.
>
> That said, I think a flag is a good fit here, though const could work
> as well.

So let's wait for Robert's const support and re-examine the situation
when it's there.

Christoph



More information about the cython-devel mailing list