OT-Comic: Tabs vs Spaces

Chris Angelico rosuav at gmail.com
Sat May 2 17:58:14 EDT 2020


On Sun, May 3, 2020 at 7:55 AM DL Neil via Python-list
<python-list at python.org> wrote:
>
> On 3/05/20 9:07 AM, Chris Angelico wrote:
> > On Sun, May 3, 2020 at 6:33 AM DL Neil via Python-list
> > <python-list at python.org> wrote:
> >>
> >> Is this the way to write Python Enhancement Proposals (PEPs)?
> >> eg https://www.python.org/dev/peps/pep-0008/#indentation
> >>
> >> TabError: inconsistent use of tabs and spaces in indentation
> >> https://www.geeksaresexy.net/2020/05/01/the-tab-club-comic/
> >
> > Well OBVIOUSLY the problem is that just four spaces tried to
> > masquerade as a tab!
>
> I suppose over-achievers like you want eight spaces?
>

Of course! Except when working with files created by Valve, where
apparently the norm is four-space tabs and they use tabs to align the
middles of lines. Although they get indentation wrong sometimes too,
so I honestly don't know :)

ChrisA


More information about the Python-list mailing list