[issue24260] TabError behavior doesn't match documentation

2019-10-17 Thread Mikko Rantalainen
Mikko Rantalainen added the comment: As I wrote in duplicate issue38496 (with emphasis added): I'd prefer python3 to require that *all whitespace* at the start of the all the lines is *tabs for the whole file*, or *spaces for the whole file*. And first indented line sets the preferenc

[issue38496] Python3 allows mixture of tabs and spaces for indentation

2019-10-16 Thread Mikko Rantalainen
New submission from Mikko Rantalainen : Contrary to PEP-8 (https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces) claiming "Python 3 disallows mixing the use of tabs and spaces for indentation", in reality Python 3 allows mixing tabs and spaces without warnings or errors. For exa