import fu; del fu complains about RedefinedWhileUnused

Bug #1162161 reported by Florent
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

This case where we import a module for its side-effects gives a warning.

import fu
del fu

or the one of bug 1162031

import selenium as se
import selenium.webdriver
del selenium


Note that this case is covered in the test suite, so it might be intentional:

Related branches

Florent (florent.x)
Changed in pyflakes:
assignee: nobody → Florent (florent.x)
importance: Undecided → Wishlist
status: New → In Progress
Revision history for this message
Florent (florent.x) wrote :

See merge-proposal here:

(unfortunately the mirroring GitHub --> Pyflakes is broken)

Florent (florent.x)
Changed in pyflakes:
status: In Progress → Fix Committed
milestone: none → 0.7
Florent (florent.x)
Changed in pyflakes:
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.