Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Fix varargs in Python 2 files - #217

Merged
dennwc merged 1 commit into
bblfsh:masterfrom
dennwc:vararg_py2
Oct 16, 2019
Merged

dennwc merged 1 commit into
bblfsh:masterfrom
dennwc:vararg_py2

Conversation

@dennwc

@dennwc dennwc commented Oct 11, 2019 •

Copy link
Copy Markdown
Member

For Python 2 files varargs and kwargs in AST are strings and not objects as in Python 3 AST. We already fix kwargs to match Py3, but not varargs. This PR adds the same conversion for varargs as well.

Fixes #199

Signed-off-by: Denys Smirnov [email protected]


This change is Reviewable

@dennwc
dennwc requested a review from a team October 11, 2019 12:30
@dennwc dennwc self-assigned this Oct 11, 2019
@ncordon

ncordon commented Oct 14, 2019

Copy link
Copy Markdown
Member

:lgtm:

@ncordon ncordon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 1 of 5 files at r1.
Reviewable status: 1 of 5 files reviewed, all discussions resolved (waiting on @dennwc)

@dennwc
dennwc merged commit 2377745 into bblfsh:master Oct 16, 2019
@dennwc
dennwc deleted the vararg_py2 branch October 16, 2019 10:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception in variadic arguments

2 participants