rename py3 to compat
use bytes literal whenever possible