Skip to content
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

sembuilder: more compatible way to construct AST module #1093

Merged
merged 1 commit into from
Nov 18, 2019

Conversation

htfy96
Copy link
Contributor

@htfy96 htfy96 commented Nov 16, 2019

Python3.8 changes the signature of ast.Module by adding a
ignore_comment field which breaks this project. ast.parse("")
is a dirty but more compatible way to make it work in both
Python 3.8 and <3.8.

Fixed #1092

Python3.8 changes the signature of ast.Module by adding a
ignore_comment field which breaks this project. ast.parse("")
is a dirty but more compatible way to make it work in both
Python 3.8 and <3.8.

Fixed cea-sec#1092
@serpilliere serpilliere merged commit cc565ff into cea-sec:master Nov 18, 2019
@serpilliere
Copy link
Contributor

Thanks a lot for the fix @htfy96 !!

w4kfu pushed a commit to w4kfu/miasm that referenced this pull request Jun 16, 2020
sembuilder: more compatible way to construct AST module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken after upgrading to Python 3.8
2 participants