pep 8 constants

Brendan Miller catphive at
Wed Jan 14 07:49:34 CET 2009

PEP 8 doesn't mention anything about using all caps to indicate a constant.

Is all caps meaning "don't reassign this var" a strong enough
convention to not be considered violating good python style? I see a
lot of people using it, but I also see a lot of people writing
non-pythonic code... so I thought I'd see what the consensus is.


More information about the Python-list mailing list