New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

>>> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to