Python binding default string type

Tristan Hill stan at saticed.me.uk
Fri Mar 21 05:24:22 PDT 2008


I am updating an application using the 0.71 python dbus bindings to
0.82.  Several places are receiving a signal and use a caching layer
that could eventually pickle the received value to disk.  Now that
string values are dbus.String's pickle will complain when dumping to
disk.

Is it recommended that I convert to a str in each signal receiver or can
I make the bindings return a picklable string?

Thanks
Tristan



More information about the dbus mailing list