> -----Original Message-----
> From: Branko Čibej [mailto:brane_at_wandisco.com]
> Sent: maandag 13 juli 2015 11:08
> To: dev_at_subversion.apache.org
> Subject: Re: svn commit: r1690591 -
> /subversion/trunk/subversion/bindings/swig/include/proxy.swg
>
> http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/inclu
> de/proxy.swg?rev=1690591&r1=1690590&r2=1690591&view=diff
> >
> ================================================================
> ==============
> > --- subversion/trunk/subversion/bindings/swig/include/proxy.swg (original)
> > +++ subversion/trunk/subversion/bindings/swig/include/proxy.swg Mon Jul 13
> 09:04:13 2015
> > @@ -62,7 +62,7 @@
> >
> > /* Default code for all wrapped proxy classes in Python */
> > %define %proxy_pythoncode(TYPE)
> > -%pythoncode {
> > +%pythoncode %{
> > def set_parent_pool(self, parent_pool=None):
> > """Create a new proxy object for TYPE"""
> > import libsvn.core, weakref
> > @@ -104,7 +104,7 @@
> > self.__dict__.setdefault("_members",{})[name] = value
> >
> > return _swig_setattr(self, self.__class__, name, value)
> > -}
> > +%}
> > %enddef
> >
> > /* Define a proxy for wrapping an existing struct */
>
>
> I've tried this before and it didn't fix the bindings at all.
Swig was patched to support this starting with 3.0.6.
The problem is now: Which swig versions do we want to support...
Bert
Received on 2015-07-13 11:38:43 CEST