[Bug 70731] TpBaseConnectionManager, TpBaseProtocol: be introspectable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 22 20:17:41 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70731

--- Comment #13 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to comment #11)
> As far as I can see, this ought to work, but I can't seem to persuade g-i to
> override either cls->get_parameters or cls->get_parameters_array with a
> Python or JS implementation.

It turns out the problem is
<https://bugzilla.gnome.org/show_bug.cgi?id=710665>.

I now have a sort-of-working Python CM with a Protocol. No Connections yet,
obviously, but it's a start.

One nasty limitation is that if you raise a Python exception from a vfunc, PyGI
just writes to stderr, and returns failure with no GError set; so trying to
implement Tp.BaseProtocol.normalize_contact() is somewhat doomed, because we
don't know how to fail.

It was a useful experiment, anyway...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list