Message355673
Oh, you are right. I misunderstood the original issue and thought that the code first checks PyFloat_Check() or PyFloat_CheckExact().
If float.__ceil__ will be executed it will add significant overhead for creating and executing the method object. |
|
Date |
User |
Action |
Args |
2019-10-29 19:42:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, BTaskaya, bluetech |
2019-10-29 19:42:34 | serhiy.storchaka | set | messageid: <1572378154.38.0.427955887222.issue38629@roundup.psfhosted.org> |
2019-10-29 19:42:34 | serhiy.storchaka | link | issue38629 messages |
2019-10-29 19:42:34 | serhiy.storchaka | create | |
|