This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients JelleZijlstra, 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, JelleZijlstra
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