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 rhettinger, serhiy.storchaka
Date 2020-07-28.14:56:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595948164.56.0.0392666688679.issue41416@roundup.psfhosted.org>
In-reply-to
Content
> if we have a class which inherits from both Set and int

This really seems like an invented problem rather than an actual problem.

> class A(collections.abc.Set, int): pass

Would anyone ever do this and be surprised the sets and ints don't combine perfectly?

If you must, add a footnote to the collections.abc entry for __ne__ noting that __ne__ is inherited.  Or you can restore the definition of Set.__ne__ that was present in 3.4.
History
Date User Action Args
2020-07-29 00:16:28rhettingerunlinkissue41416 messages
2020-07-28 14:56:04rhettingersetrecipients: + rhettinger, serhiy.storchaka
2020-07-28 14:56:04rhettingersetmessageid: <1595948164.56.0.0392666688679.issue41416@roundup.psfhosted.org>
2020-07-28 14:56:04rhettingerlinkissue41416 messages
2020-07-28 14:56:04rhettingercreate