[Python-Dev] cpython (3.2): remove unused import

Brett Cannon brett at python.org
Mon Feb 6 19:28:55 CET 2012


On Mon, Feb 6, 2012 at 13:07, Christian Heimes <lists at cheimes.de> wrote:

> 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.
>

If that's the case I might as well add it as part of my mnfy project's
verification run I do over the stdlib if someone doesn't beat me to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120206/318d66b0/attachment.html>


More information about the Python-Dev mailing list