kamahen / pykythe

Generate code Python source cross-reference facts in Kythe format
Other
21 stars 3 forks source link

Use LibCST (or maybe pyga/awpa) instead of lib2to3 #27

Open kamahen opened 4 years ago

kamahen commented 4 years ago

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/

https://github.com/pyga/awpa https://github.com/Instagram/LibCST ...

kamahen commented 4 years ago

LibCST builds on parso. Comparing stars on GitHub:

https://bugs.python.org/issue40360#msg367726 and https://bugs.python.org/issue40360#msg367730