homepage

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 mark.dickinson
Recipients arigo, mark.dickinson, serhiy.storchaka, zach.ware
Date 2013年08月17日.14:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376750115.61.0.664986104491.issue18712@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy: Yep, or even on bool. Thanks.
Armin: I don't think either of us thinks there isn't a problem here. :-)
The Google search you suggested didn't turn up a whole lot of useful information for me. Was there a discussion of this on python-dev at some point? (And if not, should there be?)
For this *particular* issue, it seems we can't exactly reproduce. type(a).__index__(a) seems like the best practical approximation to the true behaviour. I'm guessing that it's fairly rare to have useful definitions of __index__ on a metaclass.
History
Date User Action Args
2013年08月17日 14:35:15mark.dickinsonsetrecipients: + mark.dickinson, arigo, zach.ware, serhiy.storchaka
2013年08月17日 14:35:15mark.dickinsonsetmessageid: <1376750115.61.0.664986104491.issue18712@psf.upfronthosting.co.za>
2013年08月17日 14:35:15mark.dickinsonlinkissue18712 messages
2013年08月17日 14:35:15mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /