Maxim Avanov <[email protected]> added the comment:
Logically, I would expect it to behave similarly to
```
>>> class PercentDiscount(int): pass
>>> PercentDiscount('50') == PercentDiscount(50)
True
```
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com