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/2d4b85dbcef885fbdaf6a3b2daef7a017184a56f

I didn't have any time to look into this, but your fix seems right.

Thanks!

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to