simonpercivall / astunparse

An AST unparser for Python
Other
223 stars 53 forks source link

Clarify Python version compatibility #48

Open hauntsaninja opened 4 years ago

hauntsaninja commented 4 years ago

README mentions support for Python 2.6 through 3.5, however astunparse appears to have Python 3.8 support. I noticed, however, that there don't appear to be any tests for the walrus operator or positional-only args.

hauntsaninja commented 4 years ago

But 3.8's Lib/test/test_tools/test_unparse.py doesn't seem to contain tests for those either. I did find one or two random tests common.py doesn't have, which I've opened a PR for at #51

hauntsaninja commented 4 years ago

I've opened a PR with tests for 3.8 features at #52. Hope that's okay! There seems to be precedent with async constructs.