Re: [Telepathy] Requesting status of Python 3 version of Telepathy

2018-05-15 Thread James Cameron
On Tue, May 15, 2018 at 03:36:36PM +0200, Emilio Pozuelo Monfort wrote:
> On 15/05/18 14:38, Rahul Bothra wrote:
> > Hi,
> > 
> > We (Sugar), are using telepathy for our Python 2 version. We are
> > porting to Python 3.
> > 
> > Is a Python 3.x telepathy build available or are there any plans
> > to release the same ?
> 
> The GObject Introspection bindings of telepathy-glib can be accessed
> from Python 2 as well as Python 3. I suppose you are using the old,
> static Python 2 only bindings (telepathy-python), right?

Yes, we use the static bindings.  "from telepathy.something import
something".

> If so, I would suggest to port to the GI bindings first while still
> using Python 2, and then do the Python 2 to 3 port.  That way you
> can more easily isolate any possible regressions.

Thanks.  We hadn't checked for "from gi.repository" or a gir package.

--
James Cameron
http://quozl.netrek.org/
___
telepathy mailing list
telepathy@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Requesting status of Python 3 version of Telepathy

2018-05-15 Thread Rahul Bothra
Hi,

Thank you, but I didn't quite understand what you proposed.

Currently, our code is written in Python 2 (and PyGTK+ 3) and we are using
the telepathy python library. We are porting to Python 3, and I am looking
for a Python 3 version of Telepathy (preferably, maintained).
If it is not available, I will have to port it myself.

Thanks again

Regards
Rahul


On Tue, May 15, 2018 at 7:06 PM, Emilio Pozuelo Monfort <
emilio.pozu...@collabora.co.uk> wrote:

> On 15/05/18 14:38, Rahul Bothra wrote:
> > Hi,
> >
> > We (Sugar), are using telepathy for our Python 2 version. We are porting
> to
> > Python 3.
> >
> > Is a Python 3.x telepathy build available or are there any plans to
> release
> > the same ?
>
> The GObject Introspection bindings of telepathy-glib can be accessed from
> Python
> 2 as well as Python 3. I suppose you are using the old, static Python 2
> only
> bindings (telepathy-python), right? If so, I would suggest to port to the
> GI
> bindings first while still using Python 2, and then do the Python 2 to 3
> port.
> That way you can more easily isolate any possible regressions.
>
> Cheers,
> Emilio
>
___
telepathy mailing list
telepathy@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/telepathy