Re: [PATCH 0/1] git-p4.py: Cast byte strings to unicode strings in python3
- From
Luke Diamand <luke@diamand.org>
- Date
- Nov 14, 2019, 09:46 UTC
- Message-ID
- <CAE5ih7_KXJ-4r=hOWdhhWdz9MdZHLrVisZTctGjMYYQQh6Om3Q@mail.gmail.com>
- In-Reply-To
- <xmqqa78z9ou7.fsf@gitster-ct.c.googlers.com>
On Thu, 14 Nov 2019 at 02:25, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> > "Ben Keene via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > commit: git-p4.py: Cast byte strings to unicode strings in python3 > > Luke, this patch [*1*] came in my way, but I am hardly an expert on > Py2to3 and know nothing about P4. Could you take a look at them, > please? > > Thanks. > > > [References] > > <0bca930ff82623bbef172b4cb6c36ef8e5c46098.1573679258.git.gitgitgadget@gmail.com>
I just quickly tried it, and with git-p4 switched to using python3, the unit tests fail.
$ make -C t T=t98*
But it looks like a reasonable approach, and with the demise of Python2 fast approaching it would be good to get this fully working!
Luke