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
收信人 arigo, mark.dickinson, serhiy.storchaka, zach.ware
日期 2013-08-17.14:25:35
SpamBayes Score -1.0
Marked as misclassified
Message-id <1376749535.75.0.0262570341731.issue18712@psf.upfronthosting.co.za>
In-reply-to
内容
> Hmm.  "type(a).__dict__['__index__'](a)" ?

This variant fails on:

    class A(int):
        @staticmethod
        def __index__():
            return 42
历史
日期 用户 动作 参数
2013-08-17 14:25:35serhiy.storchaka修改recipients: + serhiy.storchaka, arigo, mark.dickinson, zach.ware
2013-08-17 14:25:35serhiy.storchaka修改messageid: <1376749535.75.0.0262570341731.issue18712@psf.upfronthosting.co.za>
2013-08-17 14:25:35serhiy.storchaka链接issue18712 messages
2013-08-17 14:25:35serhiy.storchaka创建