Another thing about the AST, I am having fun trying to for example list out all
the unused imports.

I have already a visitor which works quite nicely I think, but now I would like
to get a way to find all the unused imports, so I need more visitors that
find out all the used names.

I didn't find too much documentation about these kind of things, so any
suggestions on how to approach?

Pylint and snakefood have similar code, but they use the old "compiler" module,
so it's not really helpful.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to