#18361: CategoryObject: always cache gens_dict
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-6.7
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/categoryobject__always_cache_gens_dict|  
9154c9fd6f3d5df75e84e80cd2f1446909658915
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:7 vdelecroix]:
 > The class `ParentWithGens` is deprecated! There is no need for an
 attribute `_gens_dict` on all category objects.
 Then why is there a `gens_dict()` method on all category objects?

 It makes absolutely no sense to have a method on class `A` whose results
 are cached in a subclass `B`.

 If you prefer, I can move the whole `gens_dict()` method, but that's a
 more drastic change.

--
Ticket URL: <http://trac.sagemath.org/ticket/18361#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to