Merge lp:~glyph/divmod.org/combinator-py3 into lp:divmod.org
Proposed by
Glyph Lefkowitz
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Glyph Lefkowitz | ||||
Approved revision: | 2701 | ||||
Merged at revision: | 2708 | ||||
Proposed branch: | lp:~glyph/divmod.org/combinator-py3 | ||||
Merge into: | lp:divmod.org | ||||
Diff against target: |
134 lines (+16/-17) 3 files modified
Combinator/combinator/branchmgr.py (+14/-14) Combinator/combinator/xsite.py (+1/-1) Combinator/sitecustomize.py (+1/-2) |
||||
To merge this branch: | bzr merge lp:~glyph/divmod.org/combinator-py3 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jean-Paul Calderone | Approve | ||
Tristan Seligmann | Needs Fixing | ||
Review via email: mp+148853@code.launchpad.net |
Description of the change
Support enough of python 3 in Combinator so that it doesn't raise an exception when being imported. This is convenient because it allows for Twisted development in a Combinator-managed checkout without having to re-set PYTHONPATH.
To post a comment you must log in.
The rest of this looks good to me, but the following code seems problematic:
40 - print 'removing unknown:', unknownFile
41 + print('removing unknown: ' + str(unknownFile))
I'm pretty sure this is going to blow up with some encode or decode error if `unknownFile` contains non-ASCII characters, so not only will Combinator (I guess just chbranch/mkbranch?) explode, but you won't even be able to determine which file is making it explode.
...either that, or the code is already broken, in which case I guess this is a moot point.