#13300: slice and __getitem__ do not work over unramified extensions of padics
---------------------------+------------------------------------------------
Reporter: saraedum | Owner: roed
Type: enhancement | Status: new
Priority: trivial | Milestone: sage-5.3
Component: padics | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies: #13299
Stopgaps: |
---------------------------+------------------------------------------------
There are some strange results when indexing into an element of an
unramified extension.
In the following example, I think it would make more sense to return an
element in the residue field:
{{{
sage: K=Qp(3,5)
sage: R.<a> = K[]
sage: L.<a> = K.extension(a^2+a-1)
sage: a[0]
[0, 1]
}}}
Slices do not work at all currently:
{{{
sage: a[0:2]
TypeError
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13300>
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.