fix the python bindings so that they build in 3.0.25rc3; patch should be integrated upstream in 3.0.25 final.
Changed paths: