Message191462
| Author |
eli.bendersky |
| Recipients |
barry, eli.bendersky, ethan.furman, ncoghlan, pitrou |
| Date |
2013年06月19日.12:56:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1371646572.96.0.00897493083434.issue17961@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Nicely done summary, Ethan.
I think it would be worthwhile to add the reasoning of "why from 1 and not from 0" into the documentation and maybe the PEP too. I think the "falsiness" answer is reasonable, and since it's a common FAQ it's good to state it explicitly. But make sure to specify that it only applies to IntEnum because Enum values are always truthy :) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年06月19日 12:56:13 | eli.bendersky | set | recipients:
+ eli.bendersky, barry, ncoghlan, pitrou, ethan.furman |
| 2013年06月19日 12:56:12 | eli.bendersky | set | messageid: <1371646572.96.0.00897493083434.issue17961@psf.upfronthosting.co.za> |
| 2013年06月19日 12:56:12 | eli.bendersky | link | issue17961 messages |
| 2013年06月19日 12:56:12 | eli.bendersky | create |
|