Message206303
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. |
|
Date |
User |
Action |
Args |
2013-12-16 13:11:38 | eric.smith | set | recipients:
+ eric.smith, gvanrossum, rhettinger, mark.dickinson, pitrou, vstinner, skrah, ethan.furman, serhiy.storchaka |
2013-12-16 13:11:38 | eric.smith | set | messageid: <1387199498.78.0.359927195208.issue19995@psf.upfronthosting.co.za> |
2013-12-16 13:11:38 | eric.smith | link | issue19995 messages |
2013-12-16 13:11:38 | eric.smith | create | |
|