#15348: "R.<a> =" syntactic sugar incorrect for EquationOrder and ZZ.extension
---------------------------------+-------------------
       Reporter:  emassop        |        Owner:
           Type:  defect         |       Status:  new
       Priority:  minor          |    Milestone:
      Component:  number fields  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-------------------

Comment (by jdemeyer):

 Replying to [comment:3 emassop]:
 > Changing {{{gens()}}} would definitely also be my preferred solution. My
 concern is that there might be code that assumes that {{{gens()}}} returns
 a list of module generators, which would no longer be the case.

 That's not a major problem. For `R.<x> =` to work, it suffices to change
 the `_first_ngens()` method (without deprecation).

 We could then add a boolean argument `ring` to `gens()`, defaulting to
 `False` (deprecated) which returns the ''ring'' generator (i.e. new-style
 `gens()`) if `ring=True`.

--
Ticket URL: <http://trac.sagemath.org/ticket/15348#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 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