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

2012-02-15 Thread Mark Lawrence
On 06/02/2012 17:57, Brett Cannon wrote: On Sun, Feb 5, 2012 at 19:53, Christian Heimes wrote: Am 06.02.2012 01:39, schrieb Brett Cannon: I'm going to assume pylint or pyflakes would throw too many warnings on the stdlib, but would it be worth someone's time to write a simple unused import ch

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

2012-02-06 Thread Nick Coghlan
On Tue, Feb 7, 2012 at 4:52 AM, francis wrote: > Hi Brett, > >> 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. > > Is that devinabox ? No, it's Brett's Python minifier: http://pypi.python.org/pypi/m

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

2012-02-06 Thread francis
Hi Brett, 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. Is that devinabox ? Thanks in advance ! francis ___ Python-Dev mailing list Python-Dev@python.org

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

2012-02-06 Thread Brett Cannon
On Mon, Feb 6, 2012 at 13:07, Christian Heimes 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 modi

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

2012-02-06 Thread Christian Heimes
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 Py

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

2012-02-06 Thread Brett Cannon
On Sun, Feb 5, 2012 at 19:53, Christian Heimes wrote: > Am 06.02.2012 01:39, schrieb Brett Cannon: > > I'm going to assume pylint or pyflakes would throw too many warnings on > > the stdlib, but would it be worth someone's time to write a simple > > unused import checker to run over the stdlib on

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

2012-02-05 Thread Christian Heimes
Am 06.02.2012 01:39, schrieb Brett Cannon: > I'm going to assume pylint or pyflakes would throw too many warnings on > the stdlib, but would it be worth someone's time to write a simple > unused import checker to run over the stdlib on occasion? I bet even one > that did nothing more than a regex s