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

Barry Warsaw barry at python.org
Wed Aug 16 14:48:17 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Aug 16, 2006, at 7:37 AM, 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. In Py3k, '- 
> tt' (the error-raising version) will be the default,

+1.  We even have Subversion hooks in our repository to reject any  
commits that have tabs in them (except for Makefiles and a few  
whitelisted 3rd-party apps that we don't want to reformat).

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBROMUEXEjvBPtnXfVAQJSuQQAlU/FqiDhVUXKiIIaH91s0iyyd8/NgHMn
fuA5fO06vcpAWxDvZtpmF8xAqGbN9AUh87iISDEEYUdpe1xrs1hly2QEJ5xIBnmB
rF+3FfDZI+YKCkCHzHhG01jJBH6j/4pW0ZxUs4DAKz5os0o1xor7Yiy1sI/t1cVR
Ra0m8ByDssE=
=D4hn
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list