Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pygobject pygobject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 198
    • Issues 198
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • pygobjectpygobject
  • Issues
  • #276

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.

0001-pygi-array.c-_pygi_marshal_to_py_array-return-ByteAr.patch

Assignee
Assign to
Time tracking