Question about indentation and bugs

Paul Winkler slinkp23 at yahoo.com
Sat Aug 25 16:02:46 EDT 2001


On Fri, 24 Aug 2001 01:08:13 -0400, Peter Hansen <peter at engcorp.com> wrote:
>Dave Swegen wrote:
>Maybe more importantly, if you don't actually use TABs, 
>or you consistently treat TABs as eight spaces, the problem 
>won't arise.

Four spaces is now the "standard" according to PEP 8, replacing the
old style guide.  http://python.sourceforge.net/peps/pep-0008.html 

But then, the style guide says the same thing... How long ago was 8
considered the norm?

Good thing they reduced it ... it doesn't take too many levels of
indentation to get pretty cramped in a typical 80-character window!

--PW



More information about the Python-list mailing list