On Fri, Mar 6, 2015 at 11:29 AM, Tom Boothby <tomas.boot...@gmail.com> wrote:
> That's never worked.  You probably want
>
>     sage: cartesian_product([1,2,3], [1,2,3])

The above fails even worse, and isn't what I want.  I actually want
both the above and what I suggest to work.

I was able to work around the problem in this case by using
cartesian_product_iterator *and* list, which is pretty silly to have
to do.

william

>
> On Fri, Mar 6, 2015 at 10:59 AM, William Stein <wst...@gmail.com> 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.
>
> --
> 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.



-- 
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.

Reply via email to