Python dbus port for python3.x
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 1 03:56:36 PST 2011
On Thu, 01 Dec 2011 at 14:05:22 +0530, Gaurav Sood wrote:
> Has python dbus has been ported to python 3.x. If not are there any plans
> to do it in near future.
Not ported in a stable way, and no plans: see
<https://bugs.freedesktop.org/show_bug.cgi?id=26420> for discussion.
I think using GDBus via gobject-introspection is a better solution for
a Python 3 D-Bus binding - dbus-python's API does not
follow the principle of "In the face of ambiguity, refuse the temptation to
guess", and can't be changed to not do so without seriously breaking
compatibility.
(If someone wants to write a non-GLib-dependent Python D-Bus implementation,
I think it should still take its API design cues from GDBus, not dbus-python.
That someone is not going to be me, because life's too short to reimplement
things that already have a perfectly good implementation in GLib, and
comparing dbus-python with GDBus has taught me how much difficulty you're
inflicting on yourself if you try to be main-loop-agnostic.)
S
More information about the dbus
mailing list