Terry J. Reedy <tjre...@udel.edu> added the comment:

Whatever the situation was last May, current 3.10 now results in a correct and 
improved traceback ending in

  File "F:\Python\a\tem4.py", line 2
    print("hello world"
         ^
SyntaxError: '(' was never closed

Same if \n or additional text is added to the file without closing ')'.

----------
nosy: +terry.reedy
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
versions:  -Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to