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

Re: Python Binding Renaming?

From: Holger Krekel <pyth_at_devel.trillke.net>
Date: 2004-01-09 15:07:19 CET

Toshio wrote:
> Looking through the mail archives I found a sugestion by Barry Scott in
> October to rename many of the python bindings from:
>
> svn.client.svn_client_status() to svn.client.status()
>
> This met with some approval and discussion of how svn.core needed to be
> treated differently. AFAIK this hasn't been implemented. Is it not a
> good idea? Too late because of the freeze for 1.0?

I don't know but i agree that the binding-naming is quite unpythonic
and clumsy.

> If it were a good idea, it seems it should happen before 1.0 so we don't
> doom ourselves to writing doubly "namespaced" code for the life of the
> 1.0-stable branch.

FWIW i'd welcome this and just doing the above renaming

        X.Y.X_Y_method -> X.Y.method

would make quite some sense. Of course, there are some scripts within
the upcoming subversion distribution that would need to be upgraded
as well. But it is largely automatic and the work on this could probably
be "outsourced" to some volunteer pretty easily, i guess.

Is the same naming scheme used by other bindings like Java?

cheers,

   holger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 15:56:25 2004

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

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