Submitted by Simon Feltman
Gio.Application:handle-local-options receives a GLib.VariantDict() instance which is hard to work with in Python. We should probably add a to_pydict() override.
Note the fundamental type of VariantDict is boxed not Variant:
In : from gi.repository import GLib In : GLib.Variant.__gtype__.fundamental Out: <GType GVariant (84)> In : GLib.VariantDict.__gtype__.fundamental Out: <GType GBoxed (72)>
A noted workaround is to use GLib.VariantDict.end().unpack() to get back a Python dictionary.