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 serhiy.storchaka
Recipients arigo, mark.dickinson, serhiy.storchaka, zach.ware
Date 2013-08-17.14:25:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Hmm.  "type(a).__dict__['__index__'](a)" ?

This variant fails on:

    class A(int):
        def __index__():
            return 42
Date User Action Args
2013-08-17 14:25:35serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, mark.dickinson, zach.ware
2013-08-17 14:25:35serhiy.storchakasetmessageid: <>
2013-08-17 14:25:35serhiy.storchakalinkissue18712 messages
2013-08-17 14:25:35serhiy.storchakacreate