[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: Ben Reser <ben_at_reser.org>
Date: 2004-04-29 02:54:43 CEST

On Thu, Apr 29, 2004 at 01:42:40AM +0200, Lele Gaifax wrote:
> 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.

That's odd. There are quite a few examples written for the Python.
blame was originally a feature prototyped as a python script ( I think
the example is still there). Our commit log hooks use the bindings.
viewcvs uses them. How about specifying what simple tasks it isn't up
to so we can fix it rather than hypothesizing about how it's not good

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

Well header files are C...

> A parser for the svn headers is definitively a different beast than a
> C preprocessor.

You can't possible parse header files without preprocessing them.
Otherwise you'll not get the resulting true value of constants. Now I
suppose you could run cpp on the files first and then parse the result...

> 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
> %....

You know I've dealt with a lot of Perl bashing over the years by Python
users. But this is downright ridiculous. It's totally uncalled for on
this list. Not to mention it doesn't answer the questions I raised.

> 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.

I didn't promise anything. I'll point out that we've had very few
complaints about the Python bindings being incomplete. You seem to
think they are not even up to simple tasks.

All you've done is push a solution to a problem that you seem unwilling
to give concrete examples of. As I said in the past on IRC, you're
entitled to your opinion. You can even make this Pyrex bindings. More
power to you if you do.

But until you do write a Pyrex binding set there really isn't anything
to talk about further. Nobody on this list seems interested in doing

Best of luck.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 29 02:55:03 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.