(and about the [Cc]artesian(_)?[Pp]roduct function, there are some other issues there : https://groups.google.com/d/msg/sage-devel/tyAxhqxk3ZI/rff7pTrGIQ4J Of course I don't want to abusively take the reader's attention off this symmetry bug, which definitely has to be fixed >_<)
On Friday, November 15, 2013 4:43:19 AM UTC+1, vdelecroix wrote: > > Hi, > > For me it is a bug: the behavior of cartesian_product (not > CartesianProduct) is not symmetric... > {{{ > sage: C1 = cartesian_product([FiniteEnumeratedSet('abc'),ZZ]) > The cartesian product of ({'a', 'b', 'c'}, Integer Ring) > sage: C1 > sage: C1.an_element() > ('a', 1) > }}} > but > {{{ > sage: cartesian_product([ZZ,FiniteEnumeratedSet('abc')]) > Traceback (most recent call last): > ... > AttributeError: type object > 'sage.rings.integer_ring.IntegerRing_class' has no attribute > 'CartesianProduct' > }}} > And by the way, why CartesianProduct still exist ? > > I would be happy to fix that if I know what to do. > > Best, > Vincent > -- 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/groups/opt_out.