-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. #18477
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
bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. #18477
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18477 +/- ##
=========================================
Coverage 82.11% 82.12%
=========================================
Files 1956 1955 -1
Lines 589067 583729 -5338
Branches 44436 44437 +1
=========================================
- Hits 483723 479376 -4347
+ Misses 95690 94708 -982
+ Partials 9654 9645 -9
Continue to review full report at Codecov.
|
lysnikolaou
left a comment
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!
gvanrossum
left a comment
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.
From a quick glance LG.
Would it make sense to add a test for e.g. ((a)).b?
|
We can add complex examples like |
|
I don't need complex example, but I'd like a single example showing |
|
Honestly I take it back, you can land. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
GH-18491 is a backport of this pull request to the 3.8 branch. |
…GH-18477) (cherry picked from commit 6e619c4) Co-authored-by: Serhiy Storchaka <[email protected]>
https://bugs.python.org/issue39474