[Python-Dev] PEP 8 and constants

Aahz aahz at pythoncraft.com
Wed Jan 21 19:00:14 CET 2009


In comp.lang.python, there has been some discussion of the fact that
there are no guidelines in PEP 8 for constants:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/ed964fe8ad6da7b7

Is there any sentiment that PEP 8 should be updated to reflect the common
usage of ALL_CAPS for constants?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.


More information about the Python-Dev mailing list