Brendan Miller a écrit :
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.
Most - if not all - of the python code I've seen so far used this
convention, and I always used (and respected) it myself.
--
http://mail.python.org/mailman/listinfo/python-list