false report of undefined name in __all__ when import * is used

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

Bug Description

The example below reports incorrectly "undefined name in __all__"

        try:
            from _codecs import *
        except ImportError as why:
            raise SystemError('Failed to load the builtin codecs: %s' % why)

        __all__ = ["register", "lookup", "register_error", "lookup_error"]

The "import *" should disable the reporting of undefined name, here.

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

Fixed in r59.1.3 and merged with revision 60

Changed in pyflakes:
status: New → Fix Committed
Florent (florent.x)
Changed in pyflakes:
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.