-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
[3.8] bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) #17583
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
… for if_stmt (pythonGH-17582) When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node. https://bugs.python.org/issue39031 Automerge-Triggered-By: @pablogsal (cherry picked from commit 025a602) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
@lysnikolaou: Status check is done, and it's a failure ❌ . |
@brettcannon It seems we have again a similar problem with Travis and |
The error in 3.8 looks like this (for reference):
|
Hm, why are we using pyenv? That seems a dependency reversal. |
@gvanrossum I think it's because Travis uses it to install specific versions of Python. @pablogsal done |
@lysnikolaou: Status check is done, and it's a failure ❌ . |
2 similar comments
@lysnikolaou: Status check is done, and it's a failure ❌ . |
@lysnikolaou: Status check is done, and it's a failure ❌ . |
@lysnikolaou: Status check is done, and it's a failure ❌ . |
1 similar comment
@lysnikolaou: Status check is done, and it's a failure ❌ . |
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.
https://bugs.python.org/issue39031
Automerge-Triggered-By: @pablogsal
(cherry picked from commit 025a602)
Co-authored-by: Lysandros Nikolaou lisandrosnik@gmail.com
https://bugs.python.org/issue39031