Pure Python DBus implementation

Anthony Baxter anthony at interlink.com.au
Fri Aug 12 23:16:36 EST 2005


On Friday 12 August 2005 03:39, Jakub Piotr Cłapa wrote:
> DBus can also be used in a peer-to-peer mode and can use TCP/IP sockets
> instead of UNIX domain. Writing a messagebus in Python would also be an
> interesting idea but I'm not planing to do this anytime soon.
>
> But you're right, it's not that important. The only thing I see in my
> implementation that's IMHO better than the current bindings is that it
> is much simpler. Of course it doesn't have many features but still it
> would be even after adding them.
>
> Maybe it's just a mater of personal liking -- I prefer pure Python over
> wrapping C libraries when it is reasonable (mostly from the performance
> point of view).

Hopefully (I haven't had a chance to look at your code yet) it should also
be easier to slot a pure-python implementation into alternate event loops. 
There's possibly value in an alternate implementation for testing
the main code for regressions, too. 

Anthony
-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the dbus mailing list