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 remi.lapeyre
Recipients docs@python, remi.lapeyre, socketpair
Date 2020-05-21.21:50:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is no official way, you can find both in the Python tree: all caps at and snake case at

I think it's common to use all caps for those that are used as flags (i.e. where each value is a power of 2 and that may be combined using bigs operations) but there is no one true way that you can enforced, it depends on the context. 

Also, note that pep8 covers the code of Python, it's not a rule that must be blindly applied to all Python code and that you may ignore it for various reasons:
Date User Action Args
2020-05-21 21:50:03remi.lapeyresetrecipients: + remi.lapeyre, docs@python, socketpair
2020-05-21 21:50:03remi.lapeyresetmessageid: <>
2020-05-21 21:50:03remi.lapeyrelinkissue40721 messages
2020-05-21 21:50:03remi.lapeyrecreate