[Patches] [ python-Patches-1469190 ] Make -tt the default

SourceForge.net noreply at sourceforge.net
Fri Apr 14 17:48:46 CEST 2006


Patches item #1469190, was opened at 2006-04-12 13:14
Message generated for change (Settings changed) made by twouters
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1469190&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 3000
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Wouters (twouters)
Assigned to: Thomas Wouters (twouters)
Summary: Make -tt the default

Initial Comment:
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.


----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2006-04-14 09:40

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1469190&group_id=5470


More information about the Patches mailing list