Empty arrays

Havoc Pennington hp at redhat.com
Mon Aug 9 18:54:58 PDT 2004


On Mon, 2004-08-09 at 18:42, Olivier Andrieu wrote:
> Hi,
> 
> about this:
> ,----
> | 2004-07-12  Seth Nickell  <seth at gnome.org>
> | 	* python/dbus_bindings.pyx.in:
> | 	Automatically return NIL when passed an empty list
> | 	(we can't pass back a list since lists are typed
> | 	and we don't have any idea what type the the client
> | 	intended the list to be... :-( )
> `----
> 
> dbus_message_iter_init_array_iterator need to be modified so that it
> accepts NIL as well.

I know I had a previous discussion with Seth about empty arrays, was
there anything about that on the list?

Maybe the problem was supposed to be solved by the marshaling changes?

Your patch may have nothing to do with previous discussion but I'm
trying to remember.

Havoc




More information about the dbus mailing list