Remove use_2to3, try to write compatible code