Feb. 4, 2012
8:32 p.m.
Vitja Makarov, 04.02.2012 19:49:
On Sat, Jan 28, 2012 at 8:05 AM, Vitja Makarov wrote:
So I found one of the problems. Here is minimal cython example:
def foo(values): return (0,)*len(values) foo([1,2,3])
len(values) somehow is passed as an integer to PyObject_Multiply()
I've fixed tuple mult_factor bug here:
https://github.com/cython/cython/commit/2d4b85dbcef885fbdaf6a3b2daef7a017184...
I didn't have any time to look into this, but your fix seems right. Thanks! Stefan