This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients pablogsal
Date 2021-06-03.21:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622756917.47.0.333858090631.issue44305@roundup.psfhosted.org>
In-reply-to
Content
Given this script:
try:
    x = 34

a = 1

instead of printing:
  File "/home/pablogsal/github/python/master/lel.py", line 4
    a = 1
    ^
SyntaxError: invalid syntax

we should print:

  File "/home/pablogsal/github/python/master/lel.py", line 4
    a = 1
    ^
SyntaxError: expected 'except' or 'finally' block
History
Date User Action Args
2021-06-03 21:48:37pablogsalsetrecipients: + pablogsal
2021-06-03 21:48:37pablogsalsetmessageid: <1622756917.47.0.333858090631.issue44305@roundup.psfhosted.org>
2021-06-03 21:48:37pablogsallinkissue44305 messages
2021-06-03 21:48:37pablogsalcreate