Re: [Cython] Correct way of defining enums

2011-11-30 Thread Stéfan van der Walt
On Tue, Nov 29, 2011 at 11:15 PM, Robert Bradshaw wrote: > The problem was that NPY_SEARCHSIDE wasn't defined as a type, so it > was treating that as the argument name (implicitly typed to be > object). > > https://github.com/cython/cython/commit/5ba30c45c7d3478f7b7d0490e720fb0a184c6050 Thanks fo

Re: [Cython] Correct way of defining enums

2011-11-30 Thread Lisandro Dalcin
On 30 November 2011 04:15, Robert Bradshaw wrote: > > There should probably be at least a mode to give warnings for untyped > arguments (and return types) of cdef functions. > Definitely +1. -- Lisandro Dalcin --- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 K