[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ctypes + Subversion + a few high level python modules = really great python bindings

From: Christian Boos <cboos_at_neuf.fr>
Date: 2007-04-10 09:34:39 CEST

Blair Zajac wrote:
> On Apr 9, 2007, at 6:46 PM, David James wrote:
>> ...
>> Some questions for the list:
>> - Should we choose ctypes over SWIG?
>> - Once high-level bindings for csvn are ready, should we deprecate
>> the buggy SWIG bindings, and recommend that users pick csvn instead?
>
> I'm really -0 to -1 on this unless we determine how this impacts the
> other bindings. I feel we'll be splitting our energy on different
> bindings now. If there's work that can be done to the SWIG bindings
> that will help Perl and Ruby that would also help Python, I'd rather
> see energy go in that direction.

As an user of the Python SWIG bindings, I really don't mind seeing them
being phased out in favor of the ctypes approach which looks a lot more
promising. I'm also not convinced that taking this route will harm the
development of the SWIG bindings for the other languages. How much
mutual benefit do we see, really? All the %typemap annotations are
language specific anyway, and I bet that it's quite difficult to change
the common part of the mapping, as this implies taking into account the
side-effects those change will have for all the 3 languages. Those are
probably among the reasons why the bugs and limitations for the Python
SWIG bindings have seen slow progresses. Tell me if I'm wrong, but I had
little hope that the situation would be any different for 1.5.x ...
until David's proposal.

Now the better part of that proposal is that it doesn't seem to be tied
to the release process of Subversion itself. So while I'd like to see
python-csvn being supported in Subversion itself (next to the javahl
bindings ... which is another example of an official binding not taking
the SWIG path, after that approach failed), I would also very much like
to see a python-csvn release that would be usable with the already
released versions of Subversion.

-- Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 10 09:34:46 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.