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.

作者 serhiy.storchaka
收信人 mark.dickinson, serhiy.storchaka, zach.ware
日期 2013-08-13.09:58:05
SpamBayes Score -1.0
Marked as misclassified
Message-id <1376387885.19.0.784578035384.issue18712@psf.upfronthosting.co.za>
In-reply-to
内容
Here is a patch. Now the code of operator.index() becomes even more complicated. Perhaps you want suggest other wording for documentation?

Some code in stdlib (_pyio.py, bz2.py, connection.py) uses a.__index__() instead of type(a).__index__(a) (with replacing AttributeError to TypeError). Is it worth to change?
历史
日期 用户 动作 参数
2013-08-13 09:58:05serhiy.storchaka修改recipients: + serhiy.storchaka, mark.dickinson, zach.ware
2013-08-13 09:58:05serhiy.storchaka修改messageid: <1376387885.19.0.784578035384.issue18712@psf.upfronthosting.co.za>
2013-08-13 09:58:05serhiy.storchaka链接issue18712 messages
2013-08-13 09:58:05serhiy.storchaka创建