#6854: Tab completion for elements of InfinitePolynomialRing
----------------------------------------------------+-----------------------
Reporter: ncohen | Owner: SimonKing
Type: enhancement | Status: closed
Priority: major | Milestone: sage-4.3
Component: commutative algebra | Resolution: fixed
Keywords: tab completion, InfinitePolynomialRing | Work_issues:
Author: Simon King | Upstream: N/A
Reviewer: Martin Albrecht | Merged:
sage-4.3.rc0
----------------------------------------------------+-----------------------
Comment(by nthiery):
Replying to [comment:7 SimonKing]:
> Hi!
>
> Now I learned that the method {{{__members__}}} is used by {{{dir()}}}
>
> It is a bit strange, since {{{dir?}}} explains that it would use a
method {{{__dir__}}} if it exists; but in fact it doesn't.
?
It actually works for me. In #7921, I added a dir to Element, which broke
the current doctests in infinite polynomials. I just removed the
__members__ logic, and renamed _getAttributeNames into __dir__, and the
doctests pass again (see patch on #7921). Could you have a look, and
provide me with other tests if you think it could break something else in
infinite polynomials?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6854#comment:13>
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.