Message396876
In ideal world we would use __int__ for (1), and __trunc__ for (2). But for some historical reasons __index__ was introduced for (1) and __int__ is only used in the int constructor, although it falls back to __trunc__.
I am wondering whether one of __int__ or __trunc__ should be deprecated. |
|
| Date |
User |
Action |
Args |
| 2021-07-02 20:33:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, mamrhein, josh.r |
| 2021-07-02 20:33:50 | serhiy.storchaka | set | messageid: <1625258030.06.0.248626243627.issue44547@roundup.psfhosted.org> |
| 2021-07-02 20:33:50 | serhiy.storchaka | link | issue44547 messages |
| 2021-07-02 20:33:49 | serhiy.storchaka | create | |
|