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

Re: Python bindings problem (1.3.0)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2006-01-17 02:34:19 CET

Paulo da Silva <psdasilva@esoterica.pt> writes:

> I am trying the python subversion API.
> So, I tried the example from the book where
> svn_client_status is used. It worked fine.
> Then I made a simple modification changing
> svn_client_status to svn_client_status2.
> As consequence, I also added the new parameter
> ignore_externals as 0 just before ctx.
> I got the following error message:
> TypeError: argument number 3: a 'svn_wc_status_func2_t' is expected,
> 'function(<function _status_callback at 0xb7b30e2c>)' is received

I'm not a swig expert but it looks like the swig/python/client
bindings are incomplete. There is hand written code in svn_wc.i,
swigutil_py.c and swigutil_py.h that looks like it supports
svn_client_status and svn_wc_status_func_t but there is no such code
for svn_client_status2 and svn_wc_status_func2_t.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 17 02:45:24 2006

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.