#18159: cardinality must output Infinty or a Sage integer
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  critical           |    Milestone:  sage-6.6
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/18159                 |  17924b8da8777805ca17289e00e62c3beca5a146
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by vdelecroix:

Old description:

> We add a `._test_cardinality()` method in the category `Sets` that takes
> care of checking that the output of `.cardinality()` is a Sage integer or
> +Infinity.

New description:

 We add a `._test_cardinality()` method in the category `Sets` that takes
 care of checking that the output of `.cardinality()` is a Sage integer or
 +Infinity.

 Some parents must be fixed in
 {{{
 sage/combinat/crystals/monomial_crystals.py
 sage/interfaces/expect.py
 sage/structure/parent.pyx
 sage/rings/ring.pyx
 sage/algebras/finite_dimensional_algebras/finite_dimensional_algebra.py
 doc/en/thematic_tutorials/coercion_and_categories.rst
 sage/misc/sage_unittest.py
 sage/algebras/letterplace/free_algebra_letterplace.pyx
 sage/combinat/debruijn_sequence.pyx
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/18159#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to