no warning for duplicate classes

Bug #823369 reported by Glyph Lefkowitz
8
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.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Confirmed. Pyflakes 0.5.0 prints no warning on a file containing your example.

Pylint warns about the duplicate class though.

Changed in pyflakes:
status: New → Confirmed
Revision history for this message
Florent (florent.x) wrote :
Changed in pyflakes:
status: Confirmed → Fix Committed
Revision history for this message
Florent (florent.x) wrote :

Of course I linked the old repository...

The current one is:
http://bazaar.launchpad.net/~divmod-dev/pyflakes/trunk/revision/42

Florent (florent.x)
Changed in pyflakes:
importance: Undecided → Low
milestone: none → 0.6.1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.