[Python-Dev] cpython (3.2): remove unused import
Christian Heimes
lists at cheimes.de
Mon Feb 6 19:07:51 CET 2012
Am 06.02.2012 18:57, schrieb Brett Cannon:
> Ah, but does it run against Python 3? If so then this is something to
> suggest on python-mentor for someone to get their feet wet for contributing.
Probably not, the code was last modified seven years ago. The compiler
package has been removed from Python 3, too.
A similar approach should yield better results than a simple regexp
search. The 2to3 / 3to2 infrastructure could be reused to parse the AST
and search for imports and used names.
More information about the Python-Dev
mailing list