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 Ben Cipollini, Matthew.Brett, martin.panter, nadeem.vawda, serhiy.storchaka, twouters
Date 2015-11-21.07:00:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448089218.08.0.164459192956.issue25626@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you Martin, the patch LGTM.

The difference between __int__() and __index__() is that float has the former, but not the latter. For better compatibility we have to use __int__() in maintained releases. But obviously __index__() is more appropriate semantically. float buffer length doesn't make sense. We have to change __int__ to __index__ in future releases. But this is separate issue.
History
Date User Action Args
2015-11-21 07:00:18serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, nadeem.vawda, martin.panter, Matthew.Brett, Ben Cipollini
2015-11-21 07:00:18serhiy.storchakasetmessageid: <1448089218.08.0.164459192956.issue25626@psf.upfronthosting.co.za>
2015-11-21 07:00:18serhiy.storchakalinkissue25626 messages
2015-11-21 07:00:17serhiy.storchakacreate