[Cython] Possible bug related to multiple assignment

2011-06-15 Thread Andrew Collette
Hi, I ran into some odd behavior when working on my cython-based project (h5py). The following cython code snippet is the culprit ("priv" is a function argument of type void**): cdef conv_size_t *sizes priv[0] = sizes = malloc(sizeof(conv_size_t)) gets turned into this (with Cython 0.14

Re: [Cython] setup.py refusing to run cython

2011-06-15 Thread Nathaniel Smith
On Wed, Jun 15, 2011 at 12:18 AM, Stefan Behnel wrote: > Lisandro Dalcin, 14.06.2011 21:39: >> >> On 14 June 2011 16:20, Nathaniel Smith wrote: >>> >>> Hello Cython folks, >>> >>> This message (see below) is the second report I've gotten of a very >>> strange build problem with a cython module. I'

Re: [Cython] setup.py refusing to run cython

2011-06-15 Thread Stefan Behnel
Lisandro Dalcin, 14.06.2011 21:39: On 14 June 2011 16:20, Nathaniel Smith wrote: Hello Cython folks, This message (see below) is the second report I've gotten of a very strange build problem with a cython module. I'm just using the standard 'from Cython.Distutils import build_ext', 'cmdclass =