[patch] First shot at fixing up the proxy call chain

John (J5) Palmieri johnp at redhat.com
Mon Jan 16 13:13:24 PST 2006


Forgot the patch.

On Mon, 2006-01-16 at 16:12 -0500, John (J5) Palmieri wrote:
> This patch pulls the logic from ProxyObject.__getattr__ and puts it into
> ProxyMethod.__call__ and DeferedMethod.__call__.  It still retains the
> dbus_interface keyword for working with Interface objects which call
> __getattr__ directly.
> 
> Right now we block in the DeferedMethod but I will be adding back the
> async queue code in the future.
> 
> One thing that has to be looked at is the timeout which occurs when no
> interface is given.  I ran into this again while testing and not having
> the Interface object hooked up correctly.  I believe it might just be
> HAL and objects python creates, coincidentally handling no-interface
> methods wrong.  In other words I don't think we are returning
> DBUS_HANDLER_RESULT_HANDLED correctly.

-- 
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-python-fix-callchain.patch
Type: text/x-patch
Size: 6050 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060116/867367e3/dbus-python-fix-callchain.bin


More information about the dbus mailing list