#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:  #9138 #11900 #11943               
   
---------------------------+------------------------------------------------
Changes (by SimonKing):

  * dependencies:  #9138, #11900 => #9138 #11900 #11943


Old description:

> At #11900 and [http://groups.google.com/group/sage-combinat-
> devel/browse_thread/thread/99c74827d704e677 sage-combinat-devel], as well
> as in some comments in sage/categories/category.py, the idea was
> discussed to make, for example,
> `Algebras(GF(3)).parent_class==Algebras(GF(5)).parent_class` - hence,
> make the parent/element classes as independent from the base of a
> category as possible.
>
> Apply only one of the two patches, at your choice!

New description:

 At #11900 and [http://groups.google.com/group/sage-combinat-
 devel/browse_thread/thread/99c74827d704e677 sage-combinat-devel], as well
 as in some comments in sage/categories/category.py, the idea was discussed
 to make, for example,
 `Algebras(GF(3)).parent_class==Algebras(GF(5)).parent_class` - hence, make
 the parent/element classes as independent from the base of a category as
 possible.

 Apply [attachment:trac11935_weak_pickling_by_construction_rel11943.patch]

--

Comment:

 I decided to make this ticket depend on #11943, for two reasons: Firstly,
 it is rather clear that #11943 is a good idea, while I am less sure here
 (it is good for speed, but may under very particular circumstances break
 new pickles). Secondly, #11943 seems less invasive than the patch here.

 I think that the "potentially breaking new pickles in a distant future"
 aspect is less urgent with the "weak pickling by construction" approach.
 Hence, I have only updated the second patch, the first can now be
 disregarded.

 Apply trac11935_weak_pickling_by_construction_rel11943.patch

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:15>
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.

Reply via email to