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 650135 - Support (skip) annotation for parameters/return-val
Support (skip) annotation for parameters/return-val
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-13 18:29 UTC by David Zeuthen (not reading bugmail)
Modified: 2012-02-10 08:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
support skip annotation for return values (2.50 KB, patch)
2011-08-25 17:59 UTC, johnp
none Details | Review
support skip annotation for return values (4.94 KB, patch)
2011-08-25 18:19 UTC, johnp
committed Details | Review

Description David Zeuthen (not reading bugmail) 2011-05-13 18:29:58 UTC
In bug 649657 we introduced using the (skip) annotation on parameters and
return values. It would be good to support that.
Comment 1 johnp 2011-08-25 17:59:42 UTC
Created attachment 194728 [details] [review]
support skip annotation for return values

* this is used for things like skiping gboolean returns that are
   useful is C but useless in python
Comment 2 johnp 2011-08-25 18:19:26 UTC
Created attachment 194730 [details] [review]
support skip annotation for return values

* this is used for things like skiping gboolean returns that are
  useful is C but useless in python

* cleans up after skipped returns that are also marked transfer
  full
Comment 3 johnp 2011-08-25 18:38:48 UTC
Ok, I'm not going to support skipped parameters right now.  I feel there are no real usecases and it complicates the code too much.  We can revisit if someone absolutely needs this feature.
Comment 4 johnp 2011-08-25 18:40:34 UTC
to clarify, the skipped returns patch should be commited but we will not be implementing skipped parameters.
Comment 5 Martin Pitt 2012-02-10 08:32:54 UTC
Patch was committed a while ago, and the "skip params" part is wontfix, so closing. Thanks!