[patch] raise exceptions when you try to use python bindings without a mainloop

Robert McQueen robert.mcqueen at collabora.co.uk
Tue Oct 4 04:26:32 PDT 2005

I've run into this "why don't I get any signals? grr!" and so has
someone on #dbus, so I guess it's worth adding a check. This throws an
exception when you try to bind to a signal and don't have a mainloop
binding like dbus.glib loaded. It might make sense to also error when
you try and make method calls too, not certain.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-python-require-mainloop.patch
Type: text/x-patch
Size: 1187 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20051004/bb843828/dbus-python-require-mainloop.bin

More information about the dbus mailing list