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

Re: Bindings question: do keyword args make us name-sensitive?

From: Sage La Torra <sagelt_at_gmail.com>
Date: 2007-09-11 20:46:24 CEST

On 9/11/07, Eric Gillespie <epg@pretzelnet.org> wrote:
> Karl Fogel <kfogel@red-bean.com> writes:
>
> > "David Glasser" <glasser@davidglasser.net> writes:
> > > A little voice in the back of my head tells me that it's not OK to
> > > change parameter names in public APIs, because in some bindings you
> > > can use the parameter name as a keyword-style arg in calls. Am I just
> > > making that up?
>
> Weeell, I know the swig-python bindings don't make use of this.
> But that's been a long-standing gripe of mine. I don't know if
> the ctypes stuff can do this, but I hope so.
>

I'll have to look into this, but as far as I know, ctypes does not
support automatically making keyword arguments. At present the
high-level classes built to make the binding extra nice do have
keyword arguments, but they are human generated.

Sage

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 11 20:42:58 2007

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