Message206303
| 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. |
|