-
Notifications
You must be signed in to change notification settings - Fork 37
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
ast.Assign need type_comment in Python3.8 #49
Comments
serge-sans-paille
added a commit
that referenced
this issue
Sep 5, 2020
Do not forget type_comment field! Fix #49
Correct! Thanks for spotting this. |
serge-sans-paille
added a commit
that referenced
this issue
Sep 5, 2020
Do not forget type_comment field! Fix #49
Great! Which version will this feature will be cherry picked into? I'm using |
It'll go in 0.4.1. there's some difference between 0.3.0 and 0.4.x due to python 3.9 support. |
serge-sans-paille
added a commit
that referenced
this issue
Sep 14, 2020
Do not forget type_comment field! Fix #49
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In python3.8.5,I use gast to modify ast_node then convert back into ast by
gast_to_ast
. But the result is different with originalast
.It works in Python3.5 and Python2.7
The example code:
After I modified the defination in
gast.py
, it works in python3.8from
into
The text was updated successfully, but these errors were encountered: