Volker Mische, 08.04.2013 13:43: > On 04/02/2013 07:20 PM, Volker Mische wrote: >> On 03/22/2013 02:47 PM, Volker Mische wrote: >>> Hi all, >>> >>> I was excited to see that 'const' is finally supported, but constant >>> pointers are not. Here's an example with the corresponding error: >>> >>> Error compiling Cython file: >>> ------------------------------------------------------------ >>> ... >>> cdef extern int foo(const int *const bar) >>> ^ >>> ------------------------------------------------------------ >>> >>> const.pxd:1:37: Expected ')', found 'bar' >> >> I tried to implement it myself, please let me know if that's the way to >> go: https://github.com/cython/cython/pull/203 > > I revive that this thread as I did another change, that hasn't seen any > review. I thought about waiting a few days, but then I read that the > 0.19b1 was tagged and I would like to see this change merged before the > final 0.19. Though I don't know if that's possible with Cython's release > procedure.
The beta-cycle is there to get rid of bugs and find problems before the release. > The pull request is here: https://github.com/cython/cython/pull/204 > > With that one merged I got rid of all warnings I got when using a > library that makes heavy use of consts. Your change looks like a fix to me (i.e. should go in), but I'll leave it to Robert to decide as he's written the 'const' support code. Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel