Skip to content

Conversation

@lysnikolaou
Copy link
Member

@lysnikolaoulysnikolaou commented Jun 18, 2020

The following error messages get produced:

  • cannot delete ... for invalid del targets
  • ... is an illegal 'for' target for invalid targets in for
    statements
  • ... is an illegal 'with' target for invalid targets in
    with statements

Additionally, a few cuts were added in various places before the
invocation of the invalid_* rule, in order to speed things
up.

Co-authored-by: Pablo Galindo Pablogsal@gmail.com
(cherry picked from commit 01ece63)

https://bugs.python.org/issue40334

…-20106) The following error messages get produced: - `cannot delete ...` for invalid `del` targets - `... is an illegal 'for' target` for invalid targets in for statements - `... is an illegal 'with' target` for invalid targets in with statements Additionally, a few `cut`s were added in various places before the invocation of the `invalid_*` rule, in order to speed things up. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 01ece63)
@pablogsalpablogsal merged commit a5442b2 into python:3.9Jun 19, 2020
@lysnikolaoulysnikolaou deleted the backport-01ece63-3.9 branch June 19, 2020 07:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@lysnikolaou@pablogsal@the-knights-who-say-ni@bedevere-bot