Merge lp:~jpakkane/geis/python3-preparation into lp:geis
| Status: | Merged |
|---|---|
| Merged at revision: | 285 |
| Proposed branch: | lp:~jpakkane/geis/python3-preparation |
| Merge into: | lp:geis |
| Diff against target: |
251 lines (+40/-24) 8 files modified
python/geis/__init__.py (+3/-0) python/geis/geis_v2.py (+5/-3) python/pygeis (+16/-15) tools/geisview/classview.py (+2/-0) tools/geisview/deviceview.py (+2/-0) tools/geisview/filter_definition.py (+2/-0) tools/geisview/filter_list.py (+2/-0) tools/geisview/geisview (+8/-6) |
| To merge this branch: | bzr merge lp:~jpakkane/geis/python3-preparation |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Stephen M. Webb (community) | Approve on 2012-09-06 | ||
| Chase Douglas (community) | Abstain on 2012-09-06 | ||
| Daniel d'Andrada (community) | 2012-03-30 | Needs Information on 2012-09-06 | |
|
Review via email:
|
|||
Description of the Change
Add __future__ imports for stricter compliancy in preparation for Python 3.
I would probably hold off on merging this until after 12/04.
Unicode literals are not yet implemented, because they will be a lot more work. I will either push them here (if this branch is not merged immediately) or create a new branch.
- 239. By Jussi Pakkanen on 2012-04-02
-
Switched to Unicode literals to prepare for Python 3.
| Jussi Pakkanen (jpakkane) wrote : | # |
| Daniel d'Andrada (dandrader) wrote : | # |
It's been a while. Do we still want it in? Seems harmless enough...
| Chase Douglas (chasedouglas) wrote : | # |
I remember Stephen had reviewed a python3 branch at one point, and he had some concerns. I would ask him to comment. I don't know enough about python to properly review this.
Alternatively, we could seek the advice of someone who knows python well.


Added unicode literals. Surprisingly it did not require any actual code changes. Geisview works fine. I recommend thorough testing before merging this, though. There may be corner cases I did not catch.