This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:13eli.benderskysetrecipients: + eli.bendersky, barry, ncoghlan, pitrou, ethan.furman
2013-06-19 12:56:12eli.benderskysetmessageid: <1371646572.96.0.00897493083434.issue17961@psf.upfronthosting.co.za>
2013-06-19 12:56:12eli.benderskylinkissue17961 messages
2013-06-19 12:56:12eli.benderskycreate