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 gvanrossum, serhiy.storchaka, terry.reedy
Date 2018-03-29.00:03:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522281827.29.0.467229070634.issue24234@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-29 00:03:47serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, terry.reedy
2018-03-29 00:03:47serhiy.storchakasetmessageid: <1522281827.29.0.467229070634.issue24234@psf.upfronthosting.co.za>
2018-03-29 00:03:47serhiy.storchakalinkissue24234 messages
2018-03-29 00:03:46serhiy.storchakacreate