Comment 1 for bug 683619

Revision history for this message
Alejandro J. Cura (alecu) wrote :

I think we should take another look at using dbus Variants, and making the dictionaries we use as DBus parameters be of type (string, variant), instead of (string, string).

On the upsides, we won't have the problem mentioned on this bug, we might be able to send a DBus.dictionary as a value, it will look cleaner.

On the downside, in python-dbus, using variants is more noisy than just strings. For instance, to build up the dict to send thru dbus, each value should be created as dbus.String(u'abc', variant_level=1).