Neil Girdhar wrote:
> I wish this had gotten more attention! :)
I wonder what the various projects are doing to handle the latest version of Python, if they need a parse tree with whitespace information. (The projects I know of are yapf, black, mypy, pytype, kythe -- are there others?)
ast.parse() has an option `type_comments`, so certain kinds of comments are handled -- I wonder how much work it would be to extend this to handle all whitespace?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/747HHPVSNK6TCSOZHJHUEUDX2GKQROKN/
Code of Conduct: http://python.org/psf/codeofconduct/