Re: [Cython] memory view creation during cascaded assignments

2014-07-06 Thread Stefan Behnel
Hi Mark! Mark Florisson, 05.07.2014 14:49: > On 5 July 2014 11:34, Stefan Behnel wrote: >> I started optimising cascaded assignments a little to reduce the >> unnecessary duplication of coercions. >> It's explicitly tested for that we create two independent memory views in >> this case. Is there a

Re: [Cython] Wrong order of __Pyx_DECREF when calling a function with an implicit str → char* conversion.

2014-07-06 Thread Stefan Behnel
Emmanuel Gil Peyrot, 28.05.2014 13:25: > I was testing my cython codebase on top of pypy/cpyext, and I found a > memory corruption. After investigating it with the pypy guys (thanks > arigato!), we identified it as a cython bug: > > cdef void test(char *string): > print(string) > > def ru