On branch swig-py3: Do not hide AttributeError exception in called function.
* subversion/bindings/swig/include/proxy.swg
(_assert_valid_deep): Move the call to assert_valid() out of the try block to
prevent masking AttributeError that happen within the method call.
# assert_valid attribute, but it can not be called without an instance.
elif type(value) != type:
try:
- value.assert_valid()
+ fn = value.assert_valid
except AttributeError:
pass
+ else:
+ fn()
%}
/* Default code for all wrapped proxy classes in Python.
