Ben Keene <seraphire@xxxxxxxxx> writes: > On 2/14/2020 12:01 PM, Junio C Hamano wrote: >> Ben Keene <seraphire@xxxxxxxxx> writes: >> >>> On 2/14/2020 12:15 AM, Denton Liu wrote: >>>> This change comes from 'git-p4: restructure code in submit' in >>>> 'bk/p4-pre-edit-changelist' which introduced the use of the `<>` >>>> operator. In Python 2, this is valid but in Python 3, it was removed. >>>> >>>> We can simply replace the `<>` with `!=` which is the new way of >>>> writing "not equals". >>> Absolutely. I'm committing the change now. >> Thanks. >> >> I didn't mean that the use of <> was the only bug in 'pu' wrt Python >> 3. I see you sent a new round out, but has it been tested under >> Python 3 already? Just checking to set my expectation right. > I have not been able to test my changes under Py3. Unfortunately I > don't have the bandwidth at present to incorporate Yang's code into > this code for testing. I've been having to work with Python 2 at > present and using my changes locally. I have tried to not use Python2 > only code, but cross compatible code but I'm not sure what other > errors might be present. > > I'm fine if this needs to stay pending until Yang is complete and > I can then retest with the new code. Nah, I'd have replaced and rebuilt 'pu' anyway. I just wanted to know how much I should be surprised if I saw any other Python3 issues when Travis sees the updated 'pu' later today.