Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-94192: Fix error for dictionary literals with invalid expression as value.#94304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Should've run patchcheck 😅 |
Thanks a lot for the PR@wookie184 |
Thanks@wookie184 for the PR, and@pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
…sion as value. (pythonGH-94304)* Fix error for dictionary literals with invalid expression as value.* Remove trailing whitespace(cherry picked from commit8c237a7)Co-authored-by: wookie184 <wookie1840@gmail.com>
Sorry,@wookie184 and@pablogsal, I could not cleanly backport this to |
bedevere-bot commentedJun 26, 2022
GH-94308 is a backport of this pull request to the3.11 branch. |
@wookie184 Can you do the backport to 3.10 using cherry-picker? |
… expression as value. (pythonGH-94304)* Fix error for dictionary literals with invalid expression as value.* Remove trailing whitespace.(cherry picked from commit8c237a7)Co-authored-by: wookie184 <wookie1840@gmail.com>
bedevere-bot commentedJun 27, 2022
GH-94344 is a backport of this pull request to the3.10 branch. |
Closes#94192
I just added
&('}'|',')
which is the same as what was already done on line 1312. I couldn't think of any cases this makes worse and the existing tests seemed to run the same so I think this should be fine.