[Tutor] Python3 : Yes --- Python2 : No ?
Albert-Jan Roskam
sjeik_appie at hotmail.com
Sun Sep 22 13:22:24 EDT 2019
> On 22 Sep 2019 00:06, Alan G via Tutor > <Tutor at python.org> wrote:
What would the best approach to convert that much code? I mean, with sooooo many dependencies! Each individual project would start with git checkout -b py3. Then run 2to3. Then see what that 2to3 script did to the unittests. Then fix the tests. Then fix the code so the tests pass. Meanwhile py2 bugs may also need to be fixed and git-cherrypicked onto the brittle py3 code. Brrr. But one should have a way to prioritize what needs to be converted, i.e. determine what modules are the most common dependencies. Is there a generic approach for this? Jenkins CI woukd be very useful, I think. It seems daunting!
More information about the Tutor
mailing list