You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python crashes with new parser on invalid exception handlers #84801
bpo-40618: PEG Parser: Invalid targets for augassign and except succeed
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-05-14.20:13:22.952>created_at=<Date2020-05-14.07:40:23.735>labels= []
title='Python crashes with new parser on invalid exception handlers'updated_at=<Date2020-05-14.20:13:22.952>user='https://github.com/hauntsaninja'
Activity
hauntsaninja commentedon May 14, 2020
The old grammar expects a NAME here, but the new grammar attempts to use a target (https://docs.python.org/3/reference/grammar.html). Seems like we should just go back to using NAME.
pablogsal commentedon May 14, 2020
Thanks for the issue and the PR @hauntsaninja. Unfortunately, I think this is already covered by bpo-20083 and https://bugs.python.org/issue40618