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 629367 - Start implementing something equivalent to g_variant_new
Start implementing something equivalent to g_variant_new
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on: 629188
Blocks:
 
 
Reported: 2010-09-11 15:57 UTC by Tomeu Vizoso
Modified: 2010-09-23 15:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Start implementing something equivalent to g_variant_new (9.52 KB, patch)
2010-09-11 15:57 UTC, Tomeu Vizoso
none Details | Review
Start implementing something equivalent to g_variant_new (10.57 KB, patch)
2010-09-13 14:37 UTC, Tomeu Vizoso
committed Details | Review

Description Tomeu Vizoso 2010-09-11 15:57:16 UTC
Supports primitives and tuples.
Comment 1 Tomeu Vizoso 2010-09-11 15:57:18 UTC
Created attachment 170028 [details] [review]
Start implementing something equivalent to g_variant_new
Comment 2 Tomeu Vizoso 2010-09-13 14:37:03 UTC
Created attachment 170155 [details] [review]
Start implementing something equivalent to g_variant_new
Comment 3 Tomeu Vizoso 2010-09-13 14:38:13 UTC
(In reply to comment #2)
> Created an attachment (id=170155) [details] [review]
> Start implementing something equivalent to g_variant_new

Also implements some kinds of arrays
Comment 4 johnp 2010-09-20 17:16:56 UTC
Comment on attachment 170155 [details] [review]
Start implementing something equivalent to g_variant_new

Looks good except I would add a test case for each of the primitive constructors, e.g.:

GLib.Variant.new_uint32
GLib.Variant.new_object_path

etc.

Colin has been taking out annotations from gobject-introspect so we may have to wrap them ourselves.  I'm not 100% sure.
Comment 5 Tomeu Vizoso 2010-09-23 15:19:23 UTC
Attachment 170155 [details] pushed as 9714d76 - Start implementing something equivalent to g_variant_new