Message374497
> 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. |
|
Date |
User |
Action |
Args |
2020-07-29 00:16:28 | rhettinger | unlink | issue41416 messages |
2020-07-28 14:56:04 | rhettinger | set | recipients:
+ rhettinger, serhiy.storchaka |
2020-07-28 14:56:04 | rhettinger | set | messageid: <1595948164.56.0.0392666688679.issue41416@roundup.psfhosted.org> |
2020-07-28 14:56:04 | rhettinger | link | issue41416 messages |
2020-07-28 14:56:04 | rhettinger | create | |
|