Issue 32053: Inconsistent use of tabs and spaces in indentation not always detected (original) (raw)

Issue32053

Created on 2017-11-16 21:36 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (1)
msg306399 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-16 21:36
>>> 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.
History
Date User Action Args
2022-04-11 14:58:54 admin set github: 76234
2017-11-17 09:14:38 skrah set status: open -> closedsuperseder: TabError behavior doesn't match documentationresolution: duplicatestage: resolved
2017-11-16 21:36:43 serhiy.storchaka create