Skip to content

bpo-42374: Allow unparenthesized walrus in genexps - #23319

Merged
miss-islington merged 3 commits into
python:masterfrom
lysnikolaou:unparenthesized-walrus-genexp
Nov 16, 2020
Merged

miss-islington merged 3 commits into
python:masterfrom
lysnikolaou:unparenthesized-walrus-genexp

Conversation

@lysnikolaou

@lysnikolaou lysnikolaou commented Nov 16, 2020 •

Copy link
Copy Markdown
Member

This fixes a regression that was introduced by the new parser.

https://bugs.python.org/issue42374

Automerge-Triggered-By: GH:lysnikolaou

This fixes a regression that was introduced by the new parser.

@pablogsal pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! 🎣

Comment thread Lib/test/test_named_expressions.py Resolved
@pablogsal

Copy link
Copy Markdown
Member

How did you find this? 🤔

@lysnikolaou

Copy link
Copy Markdown
Member Author

How did you find this?

@terryjreedy found it while working on #23291.

@miss-islington

Copy link
Copy Markdown
Contributor

@lysnikolaou: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit cb3e5ed into python:master Nov 16, 2020
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @lysnikolaou, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker cb3e5ed0716114393696ec7201e51fe0595eab4f 3.9

@miss-islington miss-islington self-assigned this Nov 16, 2020
@lysnikolaou
lysnikolaou deleted the unparenthesized-walrus-genexp branch November 16, 2020 23:09
lysnikolaou added a commit to lysnikolaou/cpython that referenced this pull request Nov 16, 2020
This fixes a regression that was introduced by the new parser.

(cherry picked from commit cb3e5ed)
@bedevere-bot

Copy link
Copy Markdown

GH-23329 is a backport of this pull request to the 3.9 branch.

lysnikolaou added a commit that referenced this pull request Nov 16, 2020
This fixes a regression that was introduced by the new parser.

(cherry picked from commit cb3e5ed)
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
This fixes a regression that was introduced by the new parser.

Automerge-Triggered-By: GH:lysnikolaou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants