Problems with empty Arrays and Dicts in untyped languages
Colin Walters
walters at verbum.org
Thu Jul 28 06:42:13 EST 2005
On Wed, 2005-07-27 at 22:36 +0200, Lennart Poettering wrote:
> eOn Wed, 27.07.05 16:10, John (J5) Palmieri (johnp at redhat.com) wrote:
>
> >
> > Hmm, ok so it seems like it would be a pita for other languages. Havoc
> > suggests I just get off my lazy ass and implement Introspection ;-) I
> > tend to agree. If DBUS_TYPE_ARRAY_EMPTY is not dead simple to implement
> > everywhere I don't think we should do it. Will spend my time
> > implementing introspection and adding explcit type casting for arrays
> > and dicts.
>
> Does this mean that passing empty arrays from python will work only
> when the server side provides introspection information?
>
> I cannot say I like this as my server currently does not provide this info.
Note that using the GLib or Python bindings you get this for free.
More information about the dbus
mailing list