I  would define something like ``compat.string_and_binary_types``