#6854: Tab completion for elements of InfinitePolynomialRing
-----------------------------------+----------------------------------------
   Reporter:  ncohen               |       Owner:                               
         
       Type:  enhancement          |      Status:  needs_review                 
         
   Priority:  major                |   Milestone:  sage-4.3                     
         
  Component:  commutative algebra  |    Keywords:  tab completion, 
InfinitePolynomialRing
Work_issues:                       |      Author:  Simon King                   
         
   Upstream:  N/A                  |    Reviewer:                               
         
     Merged:                       |  
-----------------------------------+----------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Simon King


Comment:

 The dinner was good, and I hope the 3-line patch is as well.

 I hope there is no need to rebase it, since I made it with sage-4.2.1.

 With the patch, I get (on the command line):
 {{{
 sage: R.<t>=InfinitePolynomialRing(QQ)
 sage: p=t[1]+3*t[4]
 sage: p.<TAB>
 p.abs                           p.jacobian_ideal
 p.add_m_mul_q                   p.lc
 p.additive_order                p.lcm
 p.args                          p.lift
 p.base_extend                   p.lm
 p.base_ring                     p.lt
 p.category                      p.map_coefficients
 p.change_ring                   p.max_index
 p.coefficient                   p.mod
 p.coefficients                  p.monomial_coefficient
 p.constant_coefficient          p.monomials
 p.content                       p.multiplicative_order
 p.db                            p.n
 p.degree                        p.newton_polytope
 p.degrees                       p.nvariables
 p.derivative                    p.order
 p.dict                          p.parent
 p.divides                       p.polynomial
 p.dump                          p.quo_rem
 p.dumps                         p.reduce
 p.exponents                     p.rename
 p.factor                        p.reset_name
 p.footprint                     p.resultant
 --More--
 }}}

 It seems to me that this is what tab completion should do.

 I understood that the new trac system is that I don't need to add [with
 patch, needs review] to the summary, but to tick "needs review"; correct
 me if I'm wrong.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6854#comment:5>
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.


Reply via email to