[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
components: Interpreter Core
messages: 306399
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Inconsistent use of tabs and spaces in indentation not always detected
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com