#20859: Simplify the logic handling the EvaluationMethods mixin class for
Expression
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-7.3
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nicolas M. ThiƩry  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  
u/nthiery/optimize_method_lookup_from_the_categories_for_instances_of_cython_classes|
  5619a7d0f032f4273069166e6babf938b8c3f40a
   Dependencies:  #20825, #20686     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:8 nthiery]:
 > `XXXMethods` are meant to be pure mixins / bags of methods;

 Given that it's a `class`, I would expect it to behave like a `class`. If
 you insist that it should not behave like a `class`, then at least make it
 explicit and invent a new metaclass `BagOfMethods` which disallows
 inheritance for example.

 > they are not supposed to inherit from anything.

 How is a random Sage developer supposed to know that? That's one thing
 that I really don't like about the category framework in general: it makes
 several assumptions which work fine most of the time, but can bite you
 badly (the automatic binding is another such one). It almost feels like a
 slightly different programming language (that `class` is not ''really'' a
 Python class, it's just a dict).

--
Ticket URL: 
<https://u3351942.ct.sendgrid.net/wf/click?upn=aTs-2BwUSKwq20U-2FVxpZle9V7rZPHNFdCZn9IqCcBPbg6Wx7VTUgJoegiKQ3QL4-2BXva7WaCkN3uqMGu8RnEibJUw-3D-3D_gXX0YPkjCa6kfMda2NWALp0MQ-2FOvmULrxPdhd2nGLCbM6F4XpQFK9RL0PVKdjODv4s4jex8yip-2BlDgRm4OJNQrO7qxuv0U7kxVlFn6MFemjjWWaJgqsiiCeKxoGaqeJVTDX7MQQoL65EOP1rLa6AvebK-2FSv4aZ8Z1I3lKGVMT-2FC-2B6hYMa1LBv1eg1QlPYT-2BXFvH1qb5YqwcFmFstyFAZk-2FOkP45fLHLhZq7arEFy-2FQE-3D>
Sage 
<https://u3351942.ct.sendgrid.net/wf/click?upn=jm4cvpnHFskDUI5PLE4HCGcqpDNkng8vhBVTwprYF6Q-3D_gXX0YPkjCa6kfMda2NWALp0MQ-2FOvmULrxPdhd2nGLCbM6F4XpQFK9RL0PVKdjODv4s4jex8yip-2BlDgRm4OJNQkb1BeAb5hprpJMW8az20f-2B3eQPaE3I-2BxMsN3M8UXs3dFHlqfxTO-2FXIsNWy87wTqK5elcvrf7mEUAg6d-2BZFp37M2J4MW5ADb7-2BUN7LCn4meIhvS7jaip4zFrgKkyGzsg8-2FZpGfGqHPlKhiX6uSqhz-2BE-3D>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to