Deprecate tabs for indenting (was Re: Indenting with tabs vs spaces)

William Park opengeometry at yahoo.ca
Wed Dec 5 19:25:05 EST 2001


On Thu, Dec 06, 2001 at 12:25:10PM +1300, Greg Ewing wrote:
> In summary, my positions on the various issues are:
> * Space-only block indentation should be allowed.
> * Tab-only block indentation should be allowed.
> * Mixed indentation should probably be rejected always,
>   or at least by default, although I can live with having 
>   to say -tt.
> * Python shouldn't care about spacing used for purposes
>   other than block indentation, although pragmatically
>   it's best done with spaces only.
> * People in both camps should get used to the idea of
>   using conversion tools to deal with each other's code
>   and stop hating each other, or George Bush may target
>   you next after Afghanistan. :-)

One solution that has been proposed long ago (and many time since) is
end-block keywords like shell.

-- 
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>.
8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin




More information about the Python-list mailing list