with a NameError exception handler, an UndefinedName should not be raised

Bug #1106930 reported by Florent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pyflakes
Fix Released
Wishlist
Florent

Bug Description

This commonly used pattern reports an UndefinedName with pyflakes 0.5

        try:
            socket_map
        except NameError:
            socket_map = {}

Florent (florent.x)
Changed in pyflakes:
importance: Undecided → Low
Revision history for this message
Florent (florent.x) wrote :

Ready for review.

Changed in pyflakes:
assignee: nobody → Florent (florent.x)
importance: Low → Wishlist
status: New → In Progress
Florent (florent.x)
Changed in pyflakes:
status: In Progress → Fix Committed
Florent (florent.x)
Changed in pyflakes:
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.