#15223: Let the `TestSuite` test that the construction of a parent returns the
parent
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-5.12
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/SimonKing/ticket/15223 | a81fcc1072df88cc369d7aa0b7ae423fd97d7f02
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Replying to [comment:21 SimonKing]:
> - Do not allow to put in a "category" argument. But then, we might want
to learn the rationale of introducing the argument in the first place.
After all, if the modulus of integer mod ring R is a prime number, then
asking `R in Fields()` will return true. So, if one knows during creation
of the ring that the modulus is prime, one might use `GF(p)` instead of
`IntegerModRing(p,category=Fields())`.
How embarrassing!
I just used `git blame` to find out who introduced the use of a "category"
argument for integer mod rings---and found that it was '''I''', namely in
#9138.
I hope #9138 gives a rationale...
--
Ticket URL: <http://trac.sagemath.org/ticket/15223#comment:22>
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/groups/opt_out.