git-p4, and python2 EOL
- From
Luke Diamand <luke@diamand.org>
- Date
- Aug 28, 2019, 08:49 UTC
- Message-ID
- <CAE5ih79dF7LJSp=hUgj_r2XUmWKYnU3XgSReSjOetG8Sek599A@mail.gmail.com>
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