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

Re: ctypes-python-bindings - list files in working copy issue

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 16 Mar 2012 17:11:42 +0200

Konstantin Kolinko wrote on Sun, Mar 11, 2012 at 02:45:03 +0400:
> 3. Regarding OP's example:
>
> Is there a point of calling list() without passing a callback function into it?
>
> The _list_wrapper() does nothing if your callback ("self._list") is
> not initialized.

At the C level the callback isn't allow to be NULL. At the bindings
level I suppose that list() without a callback could serve as an
existence test (it should error if the target doesn't exist).

Though 'info' is probably more efficient for that.

Daniel
Received on 2012-03-16 16:12:50 CET

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