Message400674
> So I really *do* want to see the ability of __float__
> to return a non-float eventually removed.
Note, the __str__ method on strings does not require an exact str.
class S:
def __str__(self):
return self
print(type(str(S('hello world')))) |
|
Date |
User |
Action |
Args |
2021-08-30 22:08:31 | rhettinger | set | recipients:
+ rhettinger, barry, brett.cannon, mark.dickinson, ncoghlan, vstinner, Arfrever, alex, docs@python, ethan.furman, python-dev, eric.snow, serhiy.storchaka, mjacob |
2021-08-30 22:08:31 | rhettinger | set | messageid: <1630361311.7.0.68495423768.issue17576@roundup.psfhosted.org> |
2021-08-30 22:08:31 | rhettinger | link | issue17576 messages |
2021-08-30 22:08:31 | rhettinger | create | |
|