On 10/18/06, Adam Hooper <adamh densi com> wrote:
On Wed, 2006-18-10 at 19:31 +0200, Frederic Peters wrote:
> Adam Hooper wrote:
>
> > > Actually I saw a python-xpcom package in edgy ;-)
> >
> > Wow! Thanks for letting me know. I'll try to get support into Epiphany
> > within the week :).
>
> I just remembered this; I would love to get pyxpcom support in
> Epiphany, just ask and I'll do whatever I can (I have lots of Python
> experience, developing bindings and extensions as well as some
> exposure to Epiphany source code).
(cc-ing epiphany-list)
Yeah, I kinda gave up on this. Here's why:
To get that support linked in, we would need to convert our nsISupports
(XPCOM objects) to PyObjects. In PyXPCOM (firefox source:
extensions/python/xpcom/src/PyXPCOM.h) this is possible in
Py_nsISupports::PyObjectFromInterface().
Unfortunately, PyXPCOM.h is a private header, and that method is not
exported anywhere.