fix for python 2.5
don't issue Unused Variables warning when using locals() in current scope
Merge pull request #25 from iElectric/patch-1

don't issue Unused Variables warning when using locals() in current scope
Merge pull request #21 from jehiah/fix_python2_5

fix for python 2.5
Issue #13: redefinition of unused module (tests)

Unittests for issue #13
Make bin/pyflakes executable
Issue #13: redefinition of unused modules

Do not raise warning on common idioms like

try:
    import something
except ImportError:
    import somethingelse as something

Implements a simple check whether duplicate definition
or import share a common parent AST node that
is either <_ast.If> or <_ast.TryExcept>.
In that case additional verification is performed
whether duplicate definitions/imports were written
together. In case of multiple definitions on
different flow control forks (try/except/else,
if/else) no warning is raised.

No attempt is being made to perform smarter analysis
of the case.

Should fix most obvious cases of:
https://github.com/kevinw/pyflakes/issues/13
Small infrastructure fixes

- make bin/pyflakes and setup.py executable on UNIX (chmod a+x)
- use #!/usr/bin/env python to accommodate different python locations
- ignore "build" directory
Merge pull request #28 from saper/master

Issue #13
pull from kevinw/pyflakes

why not.