Why not enforce four space indentations in version 3.x?

Kurt Smith kwmsmith at gmail.com
Fri Jul 10 15:29:09 EDT 2009


On Fri, Jul 10, 2009 at 2:22 PM, walterbyrd<walterbyrd at iname.com> wrote:
> I believe Guido himself has said that all indentions should be four
> spaces - no tabs.
>
> Since backward compatibility is being thrown away anyway, why not
> enforce the four space rule?
>
> At least that way, when I get python code from somebody else, I would
> know what I am looking at, without having to do a hex dump, or
> something.

What you propose has already been (forcefully) rejected:

http://www.python.org/dev/peps/pep-0666/



More information about the Python-list mailing list