[Python-Dev] To 3.0.2 or not to 3.0.2?

Benjamin Peterson benjamin at python.org
Wed Feb 18 20:48:17 CET 2009


On Wed, Feb 18, 2009 at 9:30 AM, Guido van Rossum <guido at python.org> wrote:
> This prompts a wild idea -- perhaps the framework of 2to3 could be
> reused to create a new linter?

The 2to3 syntax tree is probably two low-level for that. It's good for
simple isolated transformations like print, but not so much for the
larger scale analysis that a lint tool would require. In addition,
we'd have to write some sort of symtable analyzer. High level AST is
much nicer to work with that.



-- 
Regards,
Benjamin


More information about the Python-Dev mailing list