Merge lp:~divmod-dev/divmod.org/windowserror-builtin into lp:divmod.org
Proposed by
Jean-Paul Calderone
Status: | Merged |
---|---|
Approved by: | Tristan Seligmann |
Approved revision: | 2686 |
Merged at revision: | 2688 |
Proposed branch: | lp:~divmod-dev/divmod.org/windowserror-builtin |
Merge into: | lp:divmod.org |
Diff against target: |
34 lines (+11/-2) 2 files modified
Pyflakes/pyflakes/checker.py (+3/-2) Pyflakes/pyflakes/test/test_undefined_names.py (+8/-0) |
To merge this branch: | bzr merge lp:~divmod-dev/divmod.org/windowserror-builtin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tristan Seligmann | Approve | ||
Jonathan Jacobs | Approve | ||
Review via email: mp+84407@code.launchpad.net |
Description of the change
Change WindowsError to be treated as one of the magic builtins, so it is never warned as an undefined name.
To post a comment you must log in.
Horribleness magic globals aside, this looks good to merge.