Problems with empty Arrays and Dicts in untyped languages

Havoc Pennington hp at redhat.com
Thu Jul 28 05:23:55 EST 2005


On Wed, 2005-07-27 at 14:31 -0400, John (J5) Palmieri wrote:
> There is a problem in the current protocol when sending empty arrays and
> dicts from untyped languages.  Basicly in the python bindings we check
> the first element of the list to guess its type but without any element
> we can not do so.  

This is a long-known problem, I'm sure it was discussed in archives a
few times.

This is why you really need to use introspection.

Havoc




More information about the dbus mailing list