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 r.david.murray
Recipients Arfrever, benjamin.peterson, ethan.furman, r.david.murray
Date 2013-12-29.02:19:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388283566.16.0.0461258457714.issue20092@psf.upfronthosting.co.za>
In-reply-to
Content
It is not clear to me that that would be correct, though.  Isn't the whole point of __index__ that some types can act as indicies even though they are *not* integers?  Shouldn't it be up to the type to decide if converting them to int is a sensible thing to do?  Maybe that's being silly/pendantic, though.  On the gripping hand, it feels like this is another case of what you have pointed out elsewhere, that it is not clear that we actually have a consistent API here...
History
Date User Action Args
2013-12-29 02:19:26r.david.murraysetrecipients: + r.david.murray, benjamin.peterson, Arfrever, ethan.furman
2013-12-29 02:19:26r.david.murraysetmessageid: <1388283566.16.0.0461258457714.issue20092@psf.upfronthosting.co.za>
2013-12-29 02:19:26r.david.murraylinkissue20092 messages
2013-12-29 02:19:25r.david.murraycreate