pygi-array.c _pygi_marshal_to_py_array return ByteArray instead of PyBytes
To get a gstreamer element running with gstreamer-python i needed to edit a MapInfo.data object in the element. The datatype of the Object is set by Gobject introspection to bytes and is not editable. For more explanation of the problem see: https://gitlab.freedesktop.org/gstreamer/gst-python/issues/13
This patch would fix the problem, but is maybe not the best solution. By turning the object to an ByteArray the object can be edited. A better solution would be a possibility to decide if the object should be read-only or read-write, i would be thankfull on feedback on how to implement that.