There is no reason for imp.get_magic() to return a mutable bytearray
diff --git a/Python/import.c b/Python/import.c
index 5b96cea..8b11aad 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -2686,7 +2686,7 @@
 	buf[2] = (char) ((pyc_magic >> 16) & 0xff);
 	buf[3] = (char) ((pyc_magic >> 24) & 0xff);
 
-	return PyBytes_FromStringAndSize(buf, 4);
+	return PyString_FromStringAndSize(buf, 4);
 }
 
 static PyObject *