Merge lp://staging/~cjwatson/meliae/py3-duck-type-file into lp://staging/meliae
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | John A Meinel |
Approved revision: | 223 |
Merged at revision: | 224 |
Proposed branch: | lp://staging/~cjwatson/meliae/py3-duck-type-file |
Merge into: | lp://staging/meliae |
Diff against target: |
20 lines (+6/-4) 1 file modified
meliae/loader.py (+6/-4) |
To merge this branch: | bzr merge lp://staging/~cjwatson/meliae/py3-duck-type-file |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Review via email: mp+380583@code.staging.launchpad.net |
Commit message
Duck-type files in meliae.loader.load.
Description of the change
The "file" builtin doesn't exist on Python 3, but we really just need to know whether the source object has a "fileno" method, so test for that directly.
To post a comment you must log in.