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

William Park opengeometry at yahoo.ca
Wed Dec 5 21:57:47 EST 2001


On Wed, Dec 05, 2001 at 09:00:57PM -0500, Tim Peters wrote:
> [William Park]
> > One solution that has been proposed long ago (and many time since) is
> > end-block keywords like shell.

Hmm, it's kind of funny...  I often type faster than I think.

> 
> Let's see.
> 
> for i in range(10):
>     if i % 2 == 0:
>         print i, i**2
>     shell
> shell
> 
> Yup, that works.  I'll add
> 
>     from __future__ import shell
> 
> to 2.2 if it will stop this discussion <wink>.

-- 
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