After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751166 - Returned boxed type with (transfer none) should avoid copying the boxed structure
Returned boxed type with (transfer none) should avoid copying the boxed struc...
Status: RESOLVED OBSOLETE
Product: pygobject
Classification: Bindings
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-18 15:32 UTC by Thibault Saunier
Modified: 2018-01-10 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thibault Saunier 2015-06-18 15:32:33 UTC
This is a follow up of https://bugzilla.gnome.org/show_bug.cgi?id=736896

Basically the idea here is that in the case where we have a (transfer none) getter, we should make sure that the object owning the boxed structure is not destroyed during the lifetime of the structure itself. That can be achieved by adding a python reference to the object to the boxed structure. You can read the description of the problem an explanation of that solution Nicolas Duschene brought in the previously linked bug report: https://bugzilla.gnome.org/show_bug.cgi?id=736896#c27
Comment 1 Thibault Saunier 2015-07-16 07:24:09 UTC
Any idea?
Comment 2 GNOME Infrastructure Team 2018-01-10 20:49:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pygobject/issues/101.