I've never used the lower-case version, but always this: sage: CartesianProduct([1,2,3], [1,2,3]) Cartesian product of [1, 2, 3], [1, 2, 3] sage: list(_) [[1, 1], [1, 2], [1, 3], [2, 1], [2, 2], [2, 3], [3, 1], [3, 2], [3, 3]]
On Friday, March 6, 2015 at 8:00:06 PM UTC+1, William wrote: > > Hi, > > I'm unhappy that this doesn't work: > > sage: cartesian_product([[1,2,3], [1,2,3]]) > BOOM! > > It seems clear from the docstring that this not working is > intentional. Is anybody opposed to making the above work (again? I > think it did for years, but not sure). > > William > > > > -- > William (http://wstein.org) > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.