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

Carl Banks pavlovevidence at gmail.com
Thu Jul 16 14:45:38 EDT 2009


On Jul 16, 6:32 am, Inky 788 <inky... at gmail.com> wrote:
> On Jul 10, 7:35 pm, Ben Finney <ben+pyt... at benfinney.id.au> wrote:
>
> > walterbyrd <walterb... at iname.com> writes:
> > > I believe Guido himself has said that all indentions should be four
> > > spaces - no tabs.
>
> > Yes. That's a “should” and not a “must”, even though PEP 8 says it
> > with a simple imperative::
>
> >     Use 4 spaces per indentation level.
>
> That actually sounds pretty weird. "Don't do {foo}. Really, I mean
> *really* don't do {foo}. Oh, also, the interpreter allows you to do
> {foo}. But don't do it! I mean it!".
>
> Very ... perlish, if you ask me.

Not Perlish at all.

(Perl would never want you not to use something.)


Carl Banks



More information about the Python-list mailing list