Change conditional from PY3 to PY2 to be better prepared for a possible Py4.