no warning for duplicate classes
Bug #823369 reported by
Glyph Lefkowitz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
Fix Released
|
Low
|
Unassigned |
Bug Description
If you have a Python program like this:
class Foo: pass
class Foo: pass
Pyflakes won't emit a warning, but it should.
Changed in pyflakes: | |
importance: | Undecided → Low |
milestone: | none → 0.6.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed. Pyflakes 0.5.0 prints no warning on a file containing your example.
Pylint warns about the duplicate class though.