Let's assume you have this model:
```
class Base:
pass
class A(Base):
pass
class B(Base):
pass
class C(A):
pass
```
While we can do `A == B`, or `B == C` or `B == B`, I would expect to be able to
compare like this as well: `A >= B (if B is subclass or itself of A)`, or `B <=
C (if B is a subclass or itself of C)`
Because, since == means equality check. With the same logic, a class wraps
another class is actually greater than this class from its type.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/6W7HCI4UIEAUD6AVLFSJF5Q2X55LWYZA/
Code of Conduct: http://python.org/psf/codeofconduct/