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

Re: Python bindings

From: Lele Gaifax <lele_at_nautilus.homeip.net>
Date: 2004-04-29 01:42:40 CEST

>>>>> "Ben" == Ben Reser <ben@reser.org> writes:

    Ben> Python already *HAS* the "one-to-one mirror" done. There may
    Ben> be a few places here and there where we've added stuff that
    Ben> Python hasn't kept up with, but for the most part that's
    Ben> done.

Try use it. Even better, use it for the test suite. It will jump clear
to your eyes that it has NOT. It's not up to even simple task.

>> Believe me, I'd spend the needed time to write a little parser
>> for the very good svn headers to translate them into pyrex
>> interfaces (doc et all!!), rather than throwing away my time on
>> swig singularities.

    Ben> So what you're saying is, you'll have to write a custom piece
    Ben> of software in order to get Pyrex doing things for "free"?
    Ben> Sounds to me like you're exagerating the ease at which you
    Ben> can do things. SWIG has had a C pre processor for quite a
    Ben> while and it *STILL* has problems parsing some C stuff.

Ah! Do swig need to parse C? And *still* has problem? How strange!

    Ben> In the ind I think you're saying that you can write a C pre
    Ben> processor faster than you can work with SWIG. Which just
    Ben> seems flat out false to me.

A parser for the svn headers is definitively a different beast than a
C preprocessor. I won't debate with you my Python productivity
compared to anything else. I bet that with a few regex it would be
possible to extract what's needed to build the "direct level" layer.
But I do not want to bother you with these advanced techs, stay
focused on those $ and %....

>> I'm really out of time on other projects, so I cannot prove
>> this (now). I'm really sorry, but that's it.

    Ben> All of which is moot because you don't have the time to do
    Ben> something which is so easy and "almost-for-free". Humm...

Maybe, by the time I will be back on the matter, you will provide an
excellent and complete Pythonic world for svn, and we'll be happily
exchanging our experiences about which language better fits svn
problem domain. Till then, you are just promising.

ciao, lele.

nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele@seldati.it	|		-- Fortunato Depero, 1929.
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 29 01:43:02 2004

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.