[PATCH] Two Python fixes

John (J5) Palmieri johnp at redhat.com
Wed Aug 3 04:46:41 EST 2005


On Tue, 2005-08-02 at 18:26 +0200, Jakub Piotr Cłapa wrote:
> 1. The DBus types (dbus.List, dbus.String, dbus.Struct) were useless for
> the immutuable ones and the mutuable AFAIK worked only by accident
> because the dict/list/tuple.__init__ was called without self as the
> first argument.
> 
> 2. Check for return value of dbus_message_get_destination and return
> None for NULL (avoids segfault IIRC).
> 
> [1]
> http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/dbus-python_types.patch?rev=1.1
> [2]
> http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/dbus-python_fixes.patch?rev=1.3
> 
> -- 
> Regards,
> Jakub Piotr Cłapa

Thanks, I'll roll these into some of the changes I am making.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list