Movatterモバイル変換


[0]ホーム

URL:


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

Brett Cannonbrett 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'sverification 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-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp