#11670: fix number fields being unique parents -- this got broken over the years
-----------------------------+----------------------------------------------
Reporter: was | Owner: davidloeffler
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.7.2
Component: number fields | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Changes (by SimonKing):
* status: needs_review => needs_info
Comment:
Aha, it boils down to one line in `N.absolute_field`:
{{{
#!python
try:
return self.__absolute_field[names]
except KeyError:
pass
except AttributeError:
self.__absolute_field = {}
K = NumberField(self.defining_polynomial(), names, cache=False)
K._set_structure(maps.NameChangeMap(K, self),
maps.NameChangeMap(self, K))
self.__absolute_field[names] = K
return K
}}}
Why is the option `cache=False` used in that method?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11670#comment:11>
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.