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.

作者 r.david.murray
收信人 Arfrever, benjamin.peterson, ethan.furman, r.david.murray
日期 2013-12-29.02:19:25
SpamBayes Score -1.0
Marked as misclassified
Message-id <1388283566.16.0.0461258457714.issue20092@psf.upfronthosting.co.za>
In-reply-to
内容
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...
历史
日期 用户 动作 参数
2013-12-29 02:19:26r.david.murray修改recipients: + r.david.murray, benjamin.peterson, Arfrever, ethan.furman
2013-12-29 02:19:26r.david.murray修改messageid: <1388283566.16.0.0461258457714.issue20092@psf.upfronthosting.co.za>
2013-12-29 02:19:26r.david.murray链接issue20092 messages
2013-12-29 02:19:25r.david.murray创建