[New-bugs-announce] [issue40813] Output SyntaxError is not defective

timofej report at bugs.python.org
Fri May 29 06:08:32 EDT 2020


New submission from timofej <tima12332184 at gmail.com>:

a SyntaxError must be look like:

File "main.py", line 7
    print("hello world"
                      ^
SyntaxError: unexpected EOF while parsing

but instead of this i'm get this:

File "main.py", line 3

                           ^
SyntaxError: unexpected EOF while parsing

It seems to me that this problem is only in windows.

----------
components: Build
messages: 370287
nosy: timofej
priority: normal
severity: normal
status: open
title: Output SyntaxError is not defective
type: compile error
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40813>
_______________________________________


More information about the New-bugs-announce mailing list