Re: PyGI, Folks and Gee



Am Mittwoch, den 08.02.2012, 16:48 +0100 schrieb Abderrahim Kitouni:
> Hi all,
> 
 <                    في ث، 07-02-2012 عند 15:36 +0100 ، كتب Tomeu Vizoso:
> > On Fri, Feb 3, 2012 at 19:33, Frederik Elwert <frederik elwert web de> wrote:
> > >
> > > So if anyone has a clue if it is possible to make Python, Folks and Gee
> > > play together nicely, I would be very happy.
> 
> I was going to say:
> 
> The problem is that GI (and therefore PyGObject) doesn't know how to
> deal with Vala-style generics. I don't know what can be done about this
> from the Python side.
> 
> but Tomeu's answer gave me an idea:
> 
> > This cannot be called by managed languages because it returns a pointer:
> > 
> > gpointer gee_iterator_get (GeeIterator* self)
> > 
> > Guess Gee should add alternative API that can be used by managed
> > languages if they want it to be usable there.
> 
> It could return a GValue, here is a proof of concept:
> https://bugzilla.gnome.org/show_bug.cgi?id=669686

Thanks for the attempt to solve this.

I guess technically this goes beyond a point where I do fully understand
what is going on, let alone where I could help. All I can say here is
that from my very personal point of view, I would really appreciate if
Python would remain a first-class citizen in the GNOME world and if GI
could really be a means of bridging the gaps between technologies, not
creating new ones.

I hope very much that this discussion will lead to a solution, which
ever it may be. Thanks to everybody involved! And who knows, maybe one
day it will even be possible to use Folks from python apps... ;-)

Regards
Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]