false report of undefined name in __all__ when import * is used
Bug #1106832 reported by
Florent
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.
Changed in pyflakes: | |
importance: | Undecided → Low |
Changed in pyflakes: | |
milestone: | none → 0.6.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The feature about "undefined name in __all__" was added here:
http:// bazaar. launchpad. net/~divmod- dev/divmod. org/pyflakes- all-2826/ revision/ 2614/Pyflakes/ pyflakes/ checker. py