A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-August/068298.html below:

[Python-Dev] Making 'python -t' the default.

[Python-Dev] Making 'python -t' the default. [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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4