Sept. 19, 2012
2:49 p.m.
On Wed, Sep 19, 2012 at 12:06 AM, Christoph Groth <cwg@falma.de> wrote:
Robert Bradshaw <robertwb@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.
https://github.com/cython/cython/commit/8c4a629904de8c21cd655bb63d8e1ea1ab89...