[Cython] 0.16 release
Stefan Behnel
stefan_ml at behnel.de
Sat Feb 4 21:32:45 CET 2012
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
More information about the cython-devel
mailing list