compat is only imported for _PY3 ... so maybe better to have

```fromm twisted.python.compat import _PY3```