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: <[email protected]> |
| 2019-10-29 19:42:34 | serhiy.storchaka | link | issue38629 messages |
| 2019-10-29 19:42:34 | serhiy.storchaka | create | |
|