]> granicus.if.org Git - python/commit
Make 'python -tt' the default, meaning Python won't allow mixing tabs and
authorThomas Wouters <thomas@python.org>
Fri, 14 Apr 2006 11:33:28 +0000 (11:33 +0000)
committerThomas Wouters <thomas@python.org>
Fri, 14 Apr 2006 11:33:28 +0000 (11:33 +0000)
commit6caa07b23d4f838d00a9d27efc76e412549b1de9
tree57e24f2c675a2408e0f036a80a94e999a6105596
parent0c4eb625656a8b8169e599452e271317863d0c7e
Make 'python -tt' the default, meaning Python won't allow mixing tabs and
spaces for indentation. Adds a '-ttt' option to turn the errors back into
warnings; I'm not yet sure whether that's desireable for Py3K.

Also remove the magic for setting the size of tabs based on emacs/vim-style
comments. Python now always considers tabstops to be every-8-spaces.
Parser/parsetok.c
Parser/tokenizer.c