Crash in plasma shell due to bad connection manager

Martin Klapetek martin.klapetek at gmail.com
Wed Aug 5 13:09:18 UTC 2015


On Tue, Aug 4, 2015 at 8:01 AM, Diane Trout <diane at ghic.org> wrote:

>
> I've been wondering how useful an updated telepathy-python binding would
> be?
> It's technically been deprecated by the gnome people.
>

I cannot say. But I would strongly suggest you make some noise about
your changes, like emailing telepathy at lists.freedesktop.org and blogging,
hopefully that could get you some traction and perhaps some users/devs
too.

So be sure to do all that ;)


>
> But, some of the changes I've thought about doing:
>
> python3 has abstract base classes, perhaps the interface classes should use
> that instead of just running "raise NotImplemented".
>
> I'm pretty sure I can replace the implementation of
> telepathy.server.Connection.GetInterfaces to not need the interface
> classes to
> have an __init__ function. (Which should make it safer to use super())
>

I know no pyhton, so cannot really comment on that.


>
> Also I really want to change the API to look more like this:
>
> from telepathy.Connection.Interface import Contacts
>
> class MyContacts(Contacts):
>         @Contacts.method
>     def GetContactAttribute(self, handles, interfaces, hold, sender):
>         pass
>
>
> instead of
>
> import telepathy
>
> class MyContacts(telepathy.server.ConnectionInterfaceContacts):
>     @dbus.service.method(
>         dbus_interface=telepathy.CONNECTION_INTERFACE_CONTACT_CAPABILITIES,
>         in_signature="au"
>         out_signature="a{ua(a({sv}as)}")
>     def GetContactAttributes(self, handles,interfaces, hold, sender)
>
> (Though right now I'm not sure I can hide the in_/out_ signature part.
>
> Also I'd like to modify the setup.py script to use lxml to do the xslt
> transformation instead of using autotools & xsltproc.
>

Lxml sounds good, so go for it.

Cheers
-- 
Martin Klapetek | KDE Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20150805/5c9855c1/attachment.html>


More information about the KDE-Telepathy mailing list