#9054: create a class for basic function_field arithmetic for Sage
---------------------------------------------------------------------------------+
Reporter: was
| Owner: was
Type: enhancement
| Status: new
Priority: major
| Milestone: sage-wishlist
Component: algebra
| Resolution:
Keywords:
| Work_issues:
Upstream: N/A
| Reviewer:
Author: William Stein, Robert Bradshaw, Maarten Derickx, Moritz Minzlaff
| Merged:
Dependencies: #9094, #11034
|
---------------------------------------------------------------------------------+
Comment(by mderickx):
Dear Simon,
Thanks for the help and suggestions. But sadly it did not help (altough I
find #9138 a very cool ticket it's good to make a lot of rings finally
more consistent with the current model of doing things with the category
framework).
After some fiddeling around I managed to reduce the error to something in
FunctionFieldElement_rational initialization code (hence probably not
something with the categorie an coercion framework).
{{{
sage: K = QQ['x'].fraction_field(); x = K.gen(0)
sage:
sage.rings.function_field.function_field_element.FunctionFieldElement_rational(K,
x)
x
sage:
l=sage.rings.function_field.function_field_element.FunctionFieldElement_rational(K,
x)
sage: dumps(l)
PicklingError Traceback (most recent call
last)
...
PicklingError: Can't pickle <type 'dictproxy'>: attribute lookup
__builtin__.dictproxy failed
sage: l.__getstate__()
(Fraction Field of Univariate Polynomial Ring in x over Rational Field,
<dictproxy object at 0x10ddf9948>)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9054#comment:43>
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.