pep 8 constants

Brendan Miller catphive at catphive.net
Tue Jan 20 04:11:16 CET 2009


> Constants would be a nice addition in python, sure enough.

My original question was about PEP-8 and whether it is pythonic to use
all caps to denote a variable that shouldn't be changed. More of a
style question than a language question.

I actually think *enforcing* constantness seems to go against the
grain of the language so to speek



More information about the Python-list mailing list