Re: [Cython] Possible bug related to multiple assignment

2011-06-16 Thread Stefan Behnel
Stefan Behnel, 16.06.2011 09:46: Andrew Collette, 16.06.2011 04:51: 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(sizeo

Re: [Cython] Possible bug related to multiple assignment

2011-06-16 Thread Stefan Behnel
Andrew Collette, 16.06.2011 04:51: 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 t

[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