-
Notifications
You must be signed in to change notification settings - Fork 14
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
Python 3.8 support and existing test status #17
Comments
New AST functions in 3.8: https://docs.python.org/3/whatsnew/3.8.html#improved-modules import ast
import sys
EXAMPLE = """
def add_ten(b):
return b + 11 - 1
"""
print("VERSION:", sys.version)
parsed_tree = ast.parse(EXAMPLE)
print("RETURN OPTION:")
print(parsed_tree.body[0].body[0].value.__dict__)
print("LEFT")
print(parsed_tree.body[0].body[0].value.left.__dict__)
print("RIGHT")
print(parsed_tree.body[0].body[0].value.right.__dict__) In 3.8:
In 3.7:
In 3.8, the |
Seems like supporting both 3.7 and 3.8 will be possible: 1a5c0bd More WIP on ensuring 3.8 functions are supported, but this will pass 3.7 tests and support basic operations on supported node types. |
There are failing tests in the CICD setting using Python 3.8, update to address these issues and determine if it's a functionality problem or a test bias. Besides the
coverage
reader infilters
,mutatest
is built entirely on the standard library so it may be a test problem.The text was updated successfully, but these errors were encountered: