Message365323
Minimal reproducer:
>>> class A:
... def __round__(self):
... return NotImplemented
...
>>> round(A())
NotImplemented
Should give a TypeError.
This can be useful when deciding, for example, if a given a.dtype implements round based on the dtype |
|
Date |
User |
Action |
Args |
2020-03-30 15:31:16 | Hameer Abbasi | set | recipients:
+ Hameer Abbasi |
2020-03-30 15:31:16 | Hameer Abbasi | set | messageid: <1585582276.55.0.632143445993.issue40117@roundup.psfhosted.org> |
2020-03-30 15:31:16 | Hameer Abbasi | link | issue40117 messages |
2020-03-30 15:31:16 | Hameer Abbasi | create | |
|