git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Luke Diamand <luke@diamand.org>
To: Git Users <git@vger.kernel.org>
Cc: Andrey Mazo <amazo@checkvideo.com>,
	Junio C Hamano <gitster@pobox.com>,
	Peter Osterlund <peterosterlund2@gmail.com>,
	Andrey <ahippo@yandex.ru>,
	cclauss@me.com
Subject: git-p4, and python2 EOL
Date: Wed, 28 Aug 2019 09:49:00 +0100	[thread overview]
Message-ID: <CAE5ih79dF7LJSp=hUgj_r2XUmWKYnU3XgSReSjOetG8Sek599A@mail.gmail.com> (raw)

We're coming up on when Python2 is end-of-lifed - we have until
January 1st 2020.

git-p4 uses python2, and doesn't work under python3 at all.

The problem is the conversions between Python3 unicode strings and git
(utf-8) and p4 (utf-8, except when it isn't).

I had a go at fixing this here:

https://github.com/luked99/git/commits/git-p4-python3-final-showdown

You can see from the comments that I wasn't really finding it straightforward.

I think I know a bit more about the problem now, but before I start
having another go at fixing this, I wondered if anyone else had any
thoughts on this, or even better, some time to spend on this.

Thanks
Luke

             reply	other threads:[~2019-08-28  8:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  8:49 Luke Diamand [this message]
2019-08-29  4:34 ` git-p4, and python2 EOL Andrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE5ih79dF7LJSp=hUgj_r2XUmWKYnU3XgSReSjOetG8Sek599A@mail.gmail.com' \
    --to=luke@diamand.org \
    --cc=ahippo@yandex.ru \
    --cc=amazo@checkvideo.com \
    --cc=cclauss@me.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peterosterlund2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).