[Python-Dev] Making 'python -t' the default.
Georg Brandl
g.brandl at gmx.net
Wed Aug 16 14:19:55 CEST 2006
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
More information about the Python-Dev
mailing list