[Cython] Broken list multiplication

Robert Bradshaw robertwb at gmail.com
Wed Jan 29 19:10:20 CET 2014


On Wed, Jan 29, 2014 at 9:03 AM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> R. Andrew Ohana, 28.01.2014 23:34:
>> 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 * 5
>> print(len(L))
>> 5
>
> Thanks for the report.
>
> https://github.com/cython/cython/commit/bfe7e78355629577b3cc92d58d6e02f27ee82406

Ouch. Between this and the other Sage issue, I feel a small point
release coming up. Any other bug fixes we should get in?

- Robert


More information about the cython-devel mailing list