Would be nice to add [`PyBytes_FromObject`]( https://docs.python.org/3/c-api/bytes.html#c.PyBytes_FromObject ). This is often enough used in general purpose code to be of notable benefit. Edit: Also `PyObject_Bytes` would be nice as well.
Would be nice to add
PyBytes_FromObject. This is often enough used in general purpose code to be of notable benefit.Edit: Also
PyObject_Byteswould be nice as well.