Support Python 2 and 3 without 2to3.