Merge r1515119 from trunk:

 * r1515119
   swig-py: prevent a segfaulting function from being called.  Also hide it
   from swig-pl where it is unusable (raises a TypeError(!?) if called).
   Justification:
     It's a segfault.
   Votes:
     +1: danielsh, breser



git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.7.x@1515993 13f79535-47bb-0310-9956-ffa450edef68