[issue32053] Inconsistent use of tabs and spaces in indentation not always detected

2017-11-17 Thread Stefan Krah
Change by Stefan Krah : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> TabError behavior doesn't match documentation ___ Python tracker

[issue32053] Inconsistent use of tabs and spaces in indentation not always detected

2017-11-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> exec('''if 1: ... print(1) ...\tprint(2) ... ''') 1 2 The first indented line uses 8 spaces. The second indented line uses 7 spaces + tabulation. Indentations are different, but TabError is not raised.