New submission from daniel hahler: Given the following file `t-expected-indent.py`: ``` if 1: foo ```
python t-expected-indent.py reports: ``` File "t-expected-indent.py", line 2 foo ^ IndentationError: expected an indented block ``` However, it should get reported for column 1 instead of 3. ---------- components: Interpreter Core messages: 302354 nosy: blueyed priority: normal severity: normal status: open title: Wrong offset with IndentationError ("expected an indented block") type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31495> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com