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

Ville Vainio vvainio at karhu.tp.spt.fi
Wed Dec 12 02:37:16 EST 2001


Courageous <jkraska at san.rr.com> writes:

> But this is all academic, because the defacto and near dejure standard
> for Python is 4 spaces per indentation level. Tabs are deprecated.

Why don't issue a DeprecationWarning whenever tabs are found in the
source file? That wouldn't "break" things, but it would surely
motivate tab-using people to learn the right way of doing things.

-- 
Ville Vainio - http://www.tp.spt.fi/~vvainio - ICQ #115524762
 Wild geese have no intention to cast a reflection
 Water has no mind to assume their form



More information about the Python-list mailing list