Re: [sword-devel] Python bindings for libsword with SIP

2009-11-28 Thread Peter von Kaehne
Matthew Talbert wrote: > I think there is some confusion here. > > The only SWIG bindings that actually work are the Python bindings. The > others would need some work to even compile. It has been this way for > some time. > > swordweb uses the CORBA bindings, which are unrelated. You are right

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-28 Thread Troy Melhase
> We have had the occasional bug in SWIG that has been worked around > (particularly in SWIG's iteration over STL types, which has the > unpleasant side effect of occasionally causing access violations). > It's also worth considering the overhead of converting types like > SWBuf to native Python ty

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-28 Thread Matthew Talbert
I think there is some confusion here. The only SWIG bindings that actually work are the Python bindings. The others would need some work to even compile. It has been this way for some time. swordweb uses the CORBA bindings, which are unrelated. Matthew __

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-28 Thread Peter von Kaehne
Jonathan Morgan wrote: > On Sat, Nov 28, 2009 at 5:55 PM, Troy Melhase wrote: >>> We probably could replace SWIG with SIP, but it is unlikely we would >>> do it soon just because BPBible works and works now with what is >>> there. The changes you describe would be far more likely to benefit >>> t

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-28 Thread Jonathan Morgan
On Sat, Nov 28, 2009 at 5:55 PM, Troy Melhase wrote: >> We probably could replace SWIG with SIP, but it is unlikely we would >> do it soon just because BPBible works and works now with what is >> there.  The changes you describe would be far more likely to benefit >> the Python programmer working

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-27 Thread Troy Melhase
> We probably could replace SWIG with SIP, but it is unlikely we would > do it soon just because BPBible works and works now with what is > there.  The changes you describe would be far more likely to benefit > the Python programmer working with the SWORD API directly than they > would be to benefi

Re: [sword-devel] Python bindings for libsword with SIP

2009-11-27 Thread Jonathan Morgan
On Sat, Nov 28, 2009 at 3:37 PM, Troy Melhase wrote: > Greetings, > > I've created a Python binding for libsword via SIP[1].  The code is here: > >    http://github.com/natural/sword-sip > > The binding is mostly complete, certainly the larger classes and > methods.  I'd like it if folks who use t

[sword-devel] Python bindings for libsword with SIP

2009-11-27 Thread Troy Melhase
Greetings, I've created a Python binding for libsword via SIP[1]. The code is here: http://github.com/natural/sword-sip The binding is mostly complete, certainly the larger classes and methods. I'd like it if folks who use the SWIG bindings could also try to build this binding with SIP and