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 ethan.furman
Recipients DahlitzFlorian, barry, docs@python, eli.bendersky, ethan.furman, remi.lapeyre, socketpair
Date 2020-09-13.20:56:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600030612.37.0.519812290564.issue40721@roundup.psfhosted.org>
In-reply-to
Content
For Python code at least, Guido has proclaimed:

https://mail.python.org/pipermail/python-ideas/2016-September/042340.html

I recommend naming all enums UPPER_CASE. They're constants (within a
namespace) and that's the rule for constants. It's helpful for the
reader of the code to realize what they are when passed around -- they
have a similar status to literal constants, you know they stand for a
unique value and not for some computed quantity.
History
Date User Action Args
2020-09-13 20:56:52ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, docs@python, socketpair, DahlitzFlorian, remi.lapeyre
2020-09-13 20:56:52ethan.furmansetmessageid: <1600030612.37.0.519812290564.issue40721@roundup.psfhosted.org>
2020-09-13 20:56:52ethan.furmanlinkissue40721 messages
2020-09-13 20:56:52ethan.furmancreate