#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 nthiery):

 Replying to [comment:3 jdemeyer]:
 > You really should use new-style classes. Old-style classes exist only
 for backwards compatibility and will be gone in Python 3.

 Fun: from the same premises, we arrive at opposite conclusions :-)

 Here is my logical chain:

 In Python 3 we won't make the inheritance from object explicit: it would
 be
 redundant to write:
 {{{
         class XXXMethods(object):
 }}}

 Furthermore, for our XXXMethods classes, it does not matter whether
 they are old style or new style classes (they just are bags of
 methods). Thus it feels natural to use right away the Python 3
 idiom. That's what we have been doing in all the categories.

--
Ticket URL: 
<https://u3351942.ct.sendgrid.net/wf/click?upn=aTs-2BwUSKwq20U-2FVxpZle9V7rZPHNFdCZn9IqCcBPbg6Wx7VTUgJoegiKQ3QL4-2BXvycaGRXSDtlvJQaC3f8R7pw-3D-3D_gXX0YPkjCa6kfMda2NWALp0MQ-2FOvmULrxPdhd2nGLCZJeNMmE0tJkr5JC3CrWATvkcpcg5GBIvYKzeKWk1ecMAHS5EtqXXRCco2UNuoj62yYCrJwI-2FSaAPUzirowooNoyVNqyDvENjyqMf0cqO7VErJ-2BNC80JmySn0mVOBncEhSKJwyTB2MpagUGZervf2kn5awJSrAnuPEwZfh-2F-2BAgHHMWrbHd6-2BshGKS2NxUm6eHQ-3D>
Sage 
<https://u3351942.ct.sendgrid.net/wf/click?upn=jm4cvpnHFskDUI5PLE4HCGcqpDNkng8vhBVTwprYF6Q-3D_gXX0YPkjCa6kfMda2NWALp0MQ-2FOvmULrxPdhd2nGLCZJeNMmE0tJkr5JC3CrWATvkcpcg5GBIvYKzeKWk1ecMJh1r5BE5K9knaes7kqmW-2BYdhTENojnIYZy-2FqSS8NIvvrgOhqO65Aih3efmCHNYSh-2BMu8I9XgZWrcCZaG4oQ8BXo-2FVFWcLGimex8XwNa2XlTpyI9Pf46aVLCJo1JNgOuWiNleEpgoFn-2F1-2FSSxV0vyh8-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