[PATCH] Two Python fixes

Jakub Piotr Cłapa jpc at pld-linux.org
Wed Aug 3 02:26:41 EST 2005


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


More information about the dbus mailing list