ENH: more use of "%s" rather than "%r" in error messages
BF: type (forgot "x" in "xor")