#10317: how to copy/paste InfinitePolynomialRings?
--------------------------------+-------------------------------------------
Reporter: zimmerma | Owner: AlexGhitza
Type: defect | Status: new
Priority: minor | Milestone: sage-4.7
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Changes (by kcrisman):
* cc: mhansen, SimonKing (added)
* owner: burcin => AlexGhitza
* component: calculus => basic arithmetic
Comment:
I don't know that there is.
{{{
sage: sage.rings.polynomial.infinite_polynomial_ring??
}}}
has some very extensive documentation that clearly states what the
representations are.
This isn't the only place this happens in Sage:
{{{
sage: vector([1,2,3])
(1, 2, 3)
sage: (1, 2, 3) # this is a tuple, not a vector
(1, 2, 3)
sage: V = vector([1,2,3]); V
(1, 2, 3)
sage: v = (1, 2, 3)
sage: V.base_ring()
Integer Ring
sage: v.base_ring()
AttributeError: 'tuple' object has no attribute 'base_ring'
}}}
Ordinarily I would be more eager to try to resolve such conflicts, but
anyone using an infinite polynomial ring probably knows what they are
doing.
I would just assign the result of the computation to a variable.
Otherwise I don't see much happening here. I'm cc:ing the authors of this
file in just to be sure, but probably this should be closed as 'wontfix'.
Also changing component, though 'rings' would be nice to have there as an
option...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10317#comment:1>
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.