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 jdemeyer
Recipients ezio.melotti, jdemeyer, mrabarnett, serhiy.storchaka
Date 2016-06-02.12:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464870959.4.0.498494707121.issue27177@psf.upfronthosting.co.za>
In-reply-to
Content
I would still argue that it's a bug. The intention of PEP 357 is that __index__ should be used whenever some object needs to be converted to a Py_ssize_t, which is exactly what you do here.
History
Date User Action Args
2016-06-02 12:35:59jdemeyersetrecipients: + jdemeyer, ezio.melotti, mrabarnett, serhiy.storchaka
2016-06-02 12:35:59jdemeyersetmessageid: <1464870959.4.0.498494707121.issue27177@psf.upfronthosting.co.za>
2016-06-02 12:35:59jdemeyerlinkissue27177 messages
2016-06-02 12:35:59jdemeyercreate