Nitpick, but this would be easier to read as `if PY3`, not `if not PY2`.