Message191462
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 :) |
|
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 | |
|