Skip to content

bpo-35878: Fix compiler warnings about end_col_offset and end_lineno#11735

Merged
ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-compiler-ast-warning
Feb 10, 2019
Merged

bpo-35878: Fix compiler warnings about end_col_offset and end_lineno#11735
ilevkivskyi merged 2 commits into
python:masterfrom
ilevkivskyi:fix-compiler-ast-warning

Conversation

@ilevkivskyi

@ilevkivskyi ilevkivskyi commented Feb 2, 2019

Copy link
Copy Markdown
Member

I think adding an assert there should be OK, since creating an empty suite is an error anyway and will likely crash later.

https://bugs.python.org/issue35878

@eamanu eamanu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@ilevkivskyi

Copy link
Copy Markdown
Member Author

@vstinner Will you review this, or I can just merge it?

@ilevkivskyi

Copy link
Copy Markdown
Member Author

I am assuming this is good to go.

@ilevkivskyi ilevkivskyi merged commit 181835d into python:master Feb 10, 2019
@ilevkivskyi ilevkivskyi deleted the fix-compiler-ast-warning branch February 10, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants