git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv2 2/3] git-p4 tests: work with python3 as well as python2

From
Luke Diamand <luke@diamand.org>
Date
Apr 26, 2016, 20:03 UTC
Message-ID
<CAE5ih79Ot8QBDcRatxxxoQdGKFXNtoQ-=j4uWqQ2g=KjLBNiHQ@mail.gmail.com>
In-Reply-To
<xmqqpotcgt2l.fsf@gitster.mtv.corp.google.com>
On 26 April 2016 at 18:48, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Luke Diamand <luke@diamand.org> writes:
>
>> Update the git-p4 tests so that they work with both
>> Python2 and Python3.
>>
>> We have to be explicit about the difference between
>> Unicode text strings (Python3 default) and raw binary
>> strings which will be exchanged with Perforce.
>>
>> Additionally, print always takes braces in Python3.
>
> s/braces/parentheses/, I think (can locally tweak if you say so--in
> which case no need to resend).
Please do so, thanks!
Luke
Previous: Junio C HamanoNext: Luke Diamand
Message 5 of 6 in “[PATCHv2 0/3] git-p4: support python3 in the tests”
  1. Luke DiamandApr 26, 2016
  2. 1/3 git-p4 tests: cd to / before running pythonLuke Diamand, Apr 26, 2016
  3. 2/3 git-p4 tests: work with python3 as well as python2Luke Diamand, Apr 26, 2016
  4. Junio C HamanoApr 26, 2016
  5. Luke DiamandApr 26, 2016
  6. 3/3 git-p4 tests: time_in_seconds should use $PYTHON_PATHLuke Diamand, Apr 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.