Skip to content

Porting Pootle to Python 3

Allan Nordhøy edited this page Apr 18, 2018 · 3 revisions

Options

  1. Only Py3 - drop Python 2 support
  2. Py2 + Py3 - support both 2 and 3
  3. Py2 + Py3 transitional - support both 2 and 3 until 3 is stable then drop 2

Opinions:

  1. Dramatic and no transition, hard to maintain code bases. Difficult to backport. Much easier to maintain.
  2. Works for those on old machines and new (though does anyone not have Py3 support?). Loads of six and stuff to maintain and know.
  3. Preferred Nobody is blocked and all are happy until some point we simply remove all Py2 support. Give flexibility of when long or short.

Plan of Action

  1. Get it running
  2. Decisions:
    1. What do with with Unicode literals
  3. Land things in this order:
    1. Backports with regression protection
    2. Six related and compatibility changes with Py3 testing
  4. Remove Py2 support when needed
Clone this wiki locally