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 <1376749535.75.0.0262570341731.issue18712@psf.upfronthosting.co.za>
In-reply-to
Content
> Hmm.  "type(a).__dict__['__index__'](a)" ?

This variant fails on:

    class A(int):
        @staticmethod
        def __index__():
            return 42
History
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: <1376749535.75.0.0262570341731.issue18712@psf.upfronthosting.co.za>
2013-08-17 14:25:35serhiy.storchakalinkissue18712 messages
2013-08-17 14:25:35serhiy.storchakacreate