Author rhettinger
Recipients Jelle Zijlstra, rhettinger
Date 2016-06-07.23:16:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465341419.95.0.620948678032.issue27260@psf.upfronthosting.co.za>
In-reply-to
Content
Why would you need this?   

Also, would it interfere with super's ability to use the __eq__ method for a parent class?

    class A:
        def __eq__(self, other):
            return True

    class B(A):
        def __eq__(self, other):
            return super(B, self).__eq__(other)

    print(B() == B())
History
Date User Action Args
2016-06-07 23:16:59rhettingersetrecipients: + rhettinger, Jelle Zijlstra
2016-06-07 23:16:59rhettingersetmessageid: <1465341419.95.0.620948678032.issue27260@psf.upfronthosting.co.za>
2016-06-07 23:16:59rhettingerlinkissue27260 messages
2016-06-07 23:16:59rhettingercreate