On Wed, Feb 18, 2009 at 9:30 AM, Guido van Rossum <gu...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com