[issue19525] Strict indentation in Python3

2013-11-08 Thread Sworddragon
Sworddragon added the comment: Thanks for the example, this is what I had in mind. Python 3 does also still provide the -t option (I'm assuming for compatibility reasons) but python3 -h and the manpage aren't saying about this. -- ___ Python tracker

[issue19525] Strict indentation in Python3

2013-11-07 Thread Arfrever Frehtes Taifersar Arahesis
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 a

[issue19525] Strict indentation in Python3

2013-11-07 Thread Sworddragon
New submission from Sworddragon: Python 2 provided this command line option: "-t Issue a warning when a source file mixes tabs and spaces for indentation in a way that makes it depend on the worth of a tab expressed in spaces. Issue an error when the option is given twice." I'm wonderin