#8334: Improvements to residue fields
---------------------------+------------------------------------------------
Reporter: roed | Owner: AlexGhitza
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.3.4
Component: algebra | Keywords:
Author: David Roe | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by davidloeffler):
* status: needs_review => needs_work
Comment:
FWIW, testing with this and all the prior patches in the series applied
under 4.3.4.rc0 brings up exactly 1 doctest failure, in line 321 of
sage/rings/finite_rings/finite_field_givaro.py:
{{{
File "/home/masiao/sage-4.3.4.rc0/devel/sage-
working/sage/rings/finite_rings/finite_field_
givaro.py", line 321:
sage: F81(F9.gen())
Expected:
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime
subfield
Got:
Traceback (most recent call last):
File "/home/masiao/sage-4.3.4.rc0/local/bin/ncadoctest.py", line
1231, in run_one_te
st
self.run_one_example(test, example, filename, compileflags)
File "/home/masiao/sage-4.3.4.rc0/local/bin/sagedoctest.py", line
38, in run_one_exa
mple
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/masiao/sage-4.3.4.rc0/local/bin/ncadoctest.py", line
1172, in run_one_ex
ample
compileflags, 1) in test.globs
File "<doctest __main__.example_6[49]>", line 1, in <module>
F81(F9.gen())###line 321:
sage: F81(F9.gen())
File "parent.pyx", line 826, in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:6232)
File "parent.pyx", line 1876, in
sage.structure.parent.Parent.convert_map_from
(sage/structure/parent.c:12773)
File "parent.pyx", line 1883, in
sage.structure.parent.Parent.discover_convert_map_from
(sage/structure/parent.c:12925)
File "parent.pyx", line 1740, in
sage.structure.parent.Parent.coerce_map_from
(sage/structure/parent.c:11546)
File "parent.pyx", line 1791, in
sage.structure.parent.Parent.discover_coerce_map_from
(sage/structure/parent.c:11946)
File "parent_old.pyx", line 503, in
sage.structure.parent_old.Parent._coerce_map_from_
(sage/structure/parent_old.c:5943)
File "/home/masiao/sage-4.3.4.rc0/local/lib/python/site-
packages/sage/rings/finite_rings/finite_field_givaro.py", line 350, in
_coerce_map_from_
raise NotImplementedError
NotImplementedError
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8334#comment:3>
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.