Author rhettinger
Recipients Jelle Zijlstra, ZackerySpytz, rhettinger
Date 2019-08-28.17:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Though not beautiful, we already have a way to fulfill this rare use case:

    >>> class Foo():

    >>> s = super(Foo)
    >>> t = super(Foo)
    >>> (s.__self_class__, s.__self__) == (t.__self_class__, t.__self__)
    >>> True

Though awkward to write, it is completely explicit.  That makes it better than giving "s == t" a profoundly different meaning than "s.__eq__(t)".  IMO that would be an API mistake, making it tricky to do code review and requiring special knowledge of a rare corner case.
Date User Action Args
2019-08-28 17:10:12rhettingersetrecipients: + rhettinger, Jelle Zijlstra, ZackerySpytz
2019-08-28 17:10:12rhettingersetmessageid: <>
2019-08-28 17:10:12rhettingerlinkissue27260 messages
2019-08-28 17:10:12rhettingercreate