#15348: "R.<a> =" syntactic sugar incorrect for EquationOrder and ZZ.extension
-------------------------------------+-------------------------------------
Reporter: emassop | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-7.0
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/15348 | e857c9a484132348092e21cd1de0711686b8b7f0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:22 emassop]:
> It seems weird if the return value of `.defining_generators` changes
during an object's life. If the value gets set only once during an
object's life-time (and survives pickling), then not having this
additional complexity is okay. The proposal above is merely to enforce
that the value does not get changed accidentally.
I don't see how the value could get changed accidentally. And like I said:
there are many cached functions in Sage, what makes this one so special?
> So all other rings with generators use `gens()` for their ring
generators? Why is `Order` different, especially given that there also is
`basis()`?
Very good question. Unfortunately, because of the deprecation policy, we
cannot just change `gens()`.
--
Ticket URL: <http://trac.sagemath.org/ticket/15348#comment:23>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.