sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
diff --git a/Include/object.h b/Include/object.h
index 4fb8a90..b02689c 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -458,6 +458,7 @@
 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
 PyAPI_FUNC(PyObject *) _PyObject_Str(PyObject *);
 PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
+#define PyObject_Bytes PyObject_Str
 #ifdef Py_USING_UNICODE
 PyAPI_FUNC(PyObject *) PyObject_Unicode(PyObject *);
 #endif