#11935: Make parent/element classes independent of base rings
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner: nthiery
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.3
Component: categories | Keywords: parent class, element class,
category
Work_issues: | Upstream: N/A
Reviewer: | Author: Simon King
Merged: | Dependencies: #11900
---------------------------+------------------------------------------------
Comment(by nthiery):
Replying to [comment:9 SimonKing]:
> Replying to [comment:8 nthiery]:
> > What I wanted to know whether currently most parents and elements were
pickled by construction or by "class + data".
>
> I see. If I am not mistaken, if it is pickled by "class+data", then
copy_reg._reconstructor is called at unpickling. Perhaps it is possible to
modify _reconstructor, so that it writes data to some log file. In that
way, we could find out how often it is actually used.
Yup. Or run explain_pickle on all pickles, and grep for element_class /
parent_class.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:10>
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.