[Cython] Broken list multiplication

2014-01-28 Thread R. Andrew Ohana
It seems like eaca39b00b1451fe6c846a0a670e4c8b39935525 broke some (very simple) instances of list multiplication when there are at least 3 terms in the product. e.g. on my system I'm getting these results: L = [None] * 2 * 3 print(len(L)) 3 L = 2 * [None] * 3 print(len(L)) 3 L = [None] * 2 * 3 *

[Cython] memoryview refcount error

2014-01-28 Thread Syam Gadde
Hi again, I'm exploring the typed memoryview feature with numpy and encountered a refcount error. It seems to happen when I create a slice of a memoryview, and transpose it. If I don't do both, I don't get the refcount error. It happens in the error cleanup code. I suspect that any error