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

Re: [PRELIMINARY PATCH] High-level Python "Client" layer API, mark zero

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: 2006-07-10 18:54:31 CEST

On Mon, Jul 10, 2006 at 05:45:44PM +0100, Max Bowsher wrote:
> Walter Mundt wrote:
> > Finally, I've left off the numeric suffixes on function variants
> > throughout. This is because most of the changes seem to involve
> > introducing new parameters. In Python, we can just add extra
> > optional/defaulted parameters and document "current" and (if needed)
> > "deprecated" call semantics without needing to introduce new function
> > names.
> I disagree with this quite strongly. There's absolutely NO guarantee
> that all C API revbumping will be compatible with the above methods.
I think it makes a lot of sense for those functions where the
older function can be implemented by calling the newer function with
some arguments hardcoded. Those functions where the behaviour is
actually different can always be added with a numeric suffix in Python.

It does, however, mean that in all 80% of the other cases, there are
no numeric suffixes, which is much more user-friendly imho.

Just my $0.02,

Cheers,

Jelmer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 10 18:54:48 2006

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