Author eric.smith
Recipients eric.smith, ethan.furman, gvanrossum, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2013-12-16.13:11:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387199498.78.0.359927195208.issue19995@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to me that by giving it an __index__ method, you're saying it can be used as an integer. It's not surprising to me that hex(), oct(), and bin() would work with a Grade.F object. If anything, I'd say that more places should use __index__ than currently do.
History
Date User Action Args
2013-12-16 13:11:38eric.smithsetrecipients: + eric.smith, gvanrossum, rhettinger, mark.dickinson, pitrou, vstinner, skrah, ethan.furman, serhiy.storchaka
2013-12-16 13:11:38eric.smithsetmessageid: <1387199498.78.0.359927195208.issue19995@psf.upfronthosting.co.za>
2013-12-16 13:11:38eric.smithlinkissue19995 messages
2013-12-16 13:11:38eric.smithcreate