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

Re: Can svn_config_enumerate() be called from python?

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2005-09-13 16:56:29 CEST

> Swig, whilst being wonderful at automatically wrapping ordinary
> functions, doesn't automatically do very much to help with callback
> functions.
> Each callback type has to be manually wrapped. If that has not been
> done, the functions requiring them cannot be used.

As I suspected. If I get a chance I'll try to do this and submit a patch.

> The Subversion configuration format is intended to be identical to that
> supported by the core Python module ConfigParser. (We might be forced to
> change that someday, to support usernames containing the characters '='
> and ':', but for the moment, it is true.)

That's one approach but it would mean parallel development on my part matching
the changes in mod_authz_svn by changes in my own code. If I use the APIs I
also don't need to care at all about whether I am dealing with a ConfigParser
like file format or another format. But I appreciate you were just trying to
give me a way around the problem - in fact I already have code that does just
what you are suggesting that I am trying to get away from ;-)

Thanks for your input, hopefully next time I post on this issue it will be
with a contribution.

Ximon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 13 16:59:14 2005

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.