Merge lp:~cjwatson/lazr.restful/py3-make-entry into lp:lazr.restful
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 263 |
Proposed branch: | lp:~cjwatson/lazr.restful/py3-make-entry |
Merge into: | lp:lazr.restful |
Diff against target: |
44 lines (+6/-14) 1 file modified
src/lazr/restful/tests/test_webservice.py (+6/-14) |
To merge this branch: | bzr merge lp:~cjwatson/lazr.restful/py3-make-entry |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thiago F. Pappacena (community) | Approve | ||
Review via email: mp+390264@code.launchpad.net |
Commit message
Port lazr.restful.
Description of the change
Python 3 has no exec statement. We could have switched to the "exec(code)" form, which works in both Python 2 and 3; but this is a good opportunity to switch to constructing the class dynamically without "exec", which seems more elegant.
To post a comment you must log in.
LGTM