-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-105042: Disable unmatched parens syntax error in python tokenize #105061
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lysnikolaou
commented
May 29, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: SyntaxError: unmatched ')' with whitespace in lambda? #105042
We also need a bunch of tests that cover these, one in the |
049da25
to
ed1237a
Compare
@pablogsal This is ready for another review. |
Can you add a couple of tests for this? Maybe something on these lines: #105042 (comment) in the inspect module here: cpython/Lib/test/test_inspect.py Line 779 in 0656d23
|
@pablogsal Thanks for the reminder! Tests added in c7481a5. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fantastic work!
Thanks @lysnikolaou for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…nize (pythonGH-105061) (cherry picked from commit 70f315c) Co-authored-by: Lysandros Nikolaou <[email protected]>
GH-105120 is a backport of this pull request to the 3.12 branch. |