-
Notifications
You must be signed in to change notification settings - Fork 892
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
Use pyga/awpa instead of lib2to3 #448
Comments
It seems that PyPi version of awpa still missing grammar of Python 3.6. I think we still need to waiting for new version release of awap. |
Do they have a timeline for that? |
See https://bugs.python.org/issue40360: lib2to3 is now deprecated and may not be able to fully parse Python 3.10+. CPython encourages using https://libcst.readthedocs.io/ or https://parso.readthedocs.io/ |
LibCST builds on parso. Comparing stars on GitHub:
https://bugs.python.org/issue40360#msg367726 and https://bugs.python.org/issue40360#msg367730 |
I suspect that pyga/awpa isn't the best solution (it seems to have lib2to3 underneath it). I've written up a proposal for augmenting the stdlib ast module; this would of course require some work in yapf as well. |
Thoughts on pulling in blib2to3? See #1045 (comment) for more discussion. |
This issue should likely be closed in favor of adopting either blib2to3 or migrating to PEP 617 – New PEG parser for CPython |
Closed with 7c408b9. |
pyga/awpa may support Python3 more fully than lib2to3. It would be good to explore this.
The text was updated successfully, but these errors were encountered: