This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Make -tt the default
Type: Stage:
Components: Interpreter Core Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: twouters Nosy List: gvanrossum, twouters
Priority: normal Keywords: patch

Created on 2006-04-12 11:14 by twouters, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-tt.diff twouters, 2006-04-12 11:14
Messages (2)
msg49985 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2006-04-12 11:14
Small patch to make '-tt' the default option (disallow
mixing of tabs and spaces.) '-t' and '-tt' are still
accepted, but they don't do anything. It also accepts
'-ttt' to turn off errors (but not warnings); if that's
not desireable in Py3K (I'm ambivalent myself), we can
simplify a fair bit of code in tokenize.c.

It also removes the
try-and-parse-emacs/vi-tabsize-comments, even with -tt.
msg49986 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2006-04-14 07:40
Logged In: YES 
user_id=6380

looks fine; check it in. Do mention in the message that this
removes the silly options to read tab sizes from the comments.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43193
2008-01-06 22:29:46adminsetkeywords: - py3k
versions: + Python 3.0
2006-04-12 11:14:37twouterscreate