Thomas Wouters wrote:
> 
> Can I suggest making 'python -t' the default, in 2.6? It makes python 
> warn about mixing tabs and spaces in indentation.

+1.


> In Py3k, '-tt' (the 
> error-raising version) will be the default, instead.

Or disallow tabs altogether.

> I see too many 
> newsbies with problems they can't figure out because they mix tabs and 
> spaces (usually not even consciously, but just because their editor 
> isn't playing along.) There probably should be an option to turn the 
> warning off again (although I won't fight for it ;) -- but I don't know 
> what that option should be.

Perhaps -T.

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to