#11780: Creating a polynomial ring over a number field results in a non-unique
polynomial ring over the rationals
-------------------------+--------------------------------------------------
Reporter: SimonKing | Owner: robertwb
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: coercion | Keywords: non-unique polynomial ring number
field
Work_issues: | Upstream: N/A
Reviewer: | Author: Simon King
Merged: | Dependencies:
-------------------------+--------------------------------------------------
Comment(by SimonKing):
Replying to [comment:3 malb]:
> Why would {{{PolynomialRing}}} throw a {{{TypeError}}} and
{{{MPolynomialRing_libsingular}}} would accept these parameters?
The `TypeError` would not be raised by `PolynomialRing`.
I was thinking about future developments. Imaging that someone plays with
the polynomial ring constructor, such that a completely different class of
polynomial rings would be returned. In that case, the attempt to assign
the ring to the cdef variable k of type `MPolynomialRing_libsingular`
would result in a `TypeError`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11780#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.