#7921: Categories for extension types via __getattr___
---------------------------------+------------------------------------------
   Reporter:  nthiery            |       Owner:  nthiery        
       Type:  enhancement        |      Status:  positive_review
   Priority:  major              |   Milestone:  sage-4.3.2     
  Component:  categories         |    Keywords:                 
     Author:  Nicolas M. ThiƩry  |    Upstream:  N/A            
   Reviewer:  Robert Bradshaw    |      Merged:                 
Work_issues:                     |  
---------------------------------+------------------------------------------
Changes (by robertwb):

  * status:  needs_review => positive_review


Comment:

 Replying to [comment:10 nthiery]:
 > Replying to [comment:7 robertwb]:
 > > The attribute lookup code looks good. Most of the other changes are
 minor, though changing loads/dumps to running tests is an independent
 change is seems.
 >
 > Well, I actually only added 2/3 of them, mostly as an attempt to catch
 possible introduced issues. The others were already there, and needed to
 be updated due to all the new (often failing) tests coming from
 categories.

 OK.

 > > sage/groups/group.pyx
 > > {{{
 > >     def __call__(self, x): # NT: doesn't this get in the way of the
 coercion mechanism?
 > > }}}
 > >
 > > Groups are not yet converted over to the new coercion model, and are a
 mess in general.
 >
 > Ok. Shouldn't this def be removed, so as not to prevent groups
 inheriting from Group to progressively get converted to the coercion
 model?

 Eventually, for sure.

 > Sure, that should be a separate patch. As for the comment above: I just
 can't prevent myself from adding comments in the code when I stumble on
 strange stuff. I can remove it if you prefer.

 No, comments like this are good. I was just somewhat answering your
 question.

 > > Could you explain the changes to sage/structure/sage_object.pyx?
 >
 > I improved the description on top of the patch, including a comment
 about this.

 Thanks. Look forward to being able to do stuff like this. On a somewhat
 related note, you might be interested in the binop decorator at #383.

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