[Cython] Broken list multiplication

Stefan Behnel stefan_ml at behnel.de
Wed Jan 29 18:03:16 CET 2014


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

Stefan



More information about the cython-devel mailing list