[issue19525] Strict indentation in Python3

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Fri Nov 8 08:45:53 CET 2013


Arfrever Frehtes Taifersar Arahesis added the comment:

Python 3 is intentionally stricter.

Try attached file.

$ python2.7 test
$ python2.7 -t test
test: inconsistent use of tabs and spaces in indentation
$ python2.7 -tt test
  File "test", line 3
    2
    ^
TabError: inconsistent use of tabs and spaces in indentation
$ python3.3 test
  File "test", line 3
    2
    ^
TabError: inconsistent use of tabs and spaces in indentation

----------
nosy: +Arfrever
resolution:  -> works for me
status: open -> closed
Added file: http://bugs.python.org/file32539/test

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19525>
_______________________________________


More information about the Python-bugs-list mailing list