Message314623
The difference between __complex__ and __bytes__ on one side, and __int__ and __float__ on other side is that the latter have dedicated type slots while the former are just entries in the type's dict. Thus testing and calling __int__ and __float__ is much faster. |
|
Date |
User |
Action |
Args |
2018-03-29 00:03:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, terry.reedy |
2018-03-29 00:03:47 | serhiy.storchaka | set | messageid: <1522281827.29.0.467229070634.issue24234@psf.upfronthosting.co.za> |
2018-03-29 00:03:47 | serhiy.storchaka | link | issue24234 messages |
2018-03-29 00:03:46 | serhiy.storchaka | create | |
|