This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients BTaskaya, bluetech, mark.dickinson, serhiy.storchaka
Date 2019-10-29.19:42:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572378154.38.0.427955887222.issue38629@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-10-29 19:42:34serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, BTaskaya, bluetech
2019-10-29 19:42:34serhiy.storchakasetmessageid: <1572378154.38.0.427955887222.issue38629@roundup.psfhosted.org>
2019-10-29 19:42:34serhiy.storchakalinkissue38629 messages
2019-10-29 19:42:34serhiy.storchakacreate